* 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:
Cedric BAIL 2010-06-10 15:37:50 +00:00
parent 238b9836ca
commit abdf415cc5
1 changed files with 2 additions and 1 deletions

View File

@ -854,7 +854,8 @@ _anchors_update(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o, Entry *en)
{
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_resize(sel->obj, cw, ch);
}