summaryrefslogtreecommitdiff
path: root/legacy/elm_code/src/lib/widget/elm_code_widget.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/elm_code/src/lib/widget/elm_code_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elm_code/src/lib/widget/elm_code_widget.c b/legacy/elm_code/src/lib/widget/elm_code_widget.c
index a5ca616f3d..7c4d681ee5 100644
--- a/legacy/elm_code/src/lib/widget/elm_code_widget.c
+++ b/legacy/elm_code/src/lib/widget/elm_code_widget.c
@@ -633,7 +633,7 @@ _elm_code_widget_position_at_coordinates_get(Elm_Code_Widget *widget, Elm_Code_W
633 { 633 {
634 evas_object_geometry_get(grid, NULL, &rowy, NULL, NULL); 634 evas_object_geometry_get(grid, NULL, &rowy, NULL, NULL);
635 635
636 if (rowy - oy < y) 636 if (rowy + sy - oy < y)
637 break; 637 break;
638 638
639 number--; 639 number--;