forked from enlightenment/efl
* edje: prevent uninitialized data to spread.
WARNING: I don't know why in the first it doesn't map correctly to an object. So if someone with more knowledge on this piece of code could give it a look. SVN revision: 49613
This commit is contained in:
parent
238b9836ca
commit
abdf415cc5
|
@ -854,7 +854,8 @@ _anchors_update(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en)
|
||||||
{
|
{
|
||||||
Evas_Coord cx, cy, cw, ch;
|
Evas_Coord cx, cy, cw, ch;
|
||||||
|
|
||||||
evas_textblock_cursor_format_item_geometry_get(an->start, &cx, &cy, &cw, &ch);
|
if (!evas_textblock_cursor_format_item_geometry_get(an->start, &cx, &cy, &cw, &ch))
|
||||||
|
continue ;
|
||||||
evas_object_move(sel->obj, x + cx, y + cy);
|
evas_object_move(sel->obj, x + cx, y + cy);
|
||||||
evas_object_resize(sel->obj, cw, ch);
|
evas_object_resize(sel->obj, cw, ch);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue