summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 4246f900b..a2c6d73b1 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -428,6 +428,7 @@ _viewport_region_get(Evas_Object *obj)
428 Eina_Rectangle *rect = eina_rectangle_new(0, 0, 0, 0); 428 Eina_Rectangle *rect = eina_rectangle_new(0, 0, 0, 0);
429 Evas_Object *parent; 429 Evas_Object *parent;
430 430
431 if (!rect) return NULL;
431 if (sd->scroll) 432 if (sd->scroll)
432 eo_do(obj, elm_interface_scrollable_content_viewport_geometry_get 433 eo_do(obj, elm_interface_scrollable_content_viewport_geometry_get
433 (&rect->x, &rect->y, &rect->w, &rect->h)); 434 (&rect->x, &rect->y, &rect->w, &rect->h));