fix for the following valgrind annoyance:

Conditional jump or move depends on uninitialised value(s)
   at 0x4128897: _elm_smart_scroller_child_region_show_internal (els_scroller.c:1081)
   by 0x4128A25: elm_smart_scroller_child_region_show (els_scroller.c:1113)
   by 0x408B57E: elm_entry_cursor_end_set (elm_entry.c:2337)
 Uninitialised value was created by a stack allocation
   at 0x408B4BC: elm_entry_cursor_end_set (elm_entry.c:2328)



SVN revision: 61627
This commit is contained in:
Mike Blumenkrantz 2011-07-24 03:59:09 +00:00
parent ddc4c191f7
commit 2c487eb83a
1 changed files with 1 additions and 0 deletions

View File

@ -2330,6 +2330,7 @@ elm_entry_cursor_end_set(Evas_Object *obj)
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
int x, y, w, h;
x = y = w = h = 1;
edje_object_part_text_cursor_end_set(wd->ent, "elm.text", EDJE_CURSOR_MAIN);
if (wd->scroll)
{