cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a5e3e0d0d44f51b2c28a89413fdddf552fe636f3
commit a5e3e0d0d44f51b2c28a89413fdddf552fe636f3 Author: artem.popov <artem.po...@samsung.com> Date: Wed Nov 5 00:00:45 2014 +0100 edje: fix edje_object_part_text_item_list_get and edje_object_part_text_item_geometry_get Summary: There is copy-paste bug, when _anchors_get works in the same way like _items_get. edje_object_part_text_item_list_get and edje_object_part_text_item_geometry_get didn't work. @fix Reviewers: seoz, Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1641 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/edje/edje_entry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c index be9f824..61d38b8 100644 --- a/src/lib/edje/edje_entry.c +++ b/src/lib/edje/edje_entry.c @@ -2961,7 +2961,7 @@ _edje_entry_item_geometry_get(Edje_Real_Part *rp, const char *item, Evas_Coord * EINA_LIST_FOREACH(en->anchors, l, an) { const char *n = an->name; - if (an->item) continue; + if (!an->item) continue; if (!n) n = ""; if (!strcmp(item, n)) { @@ -2988,7 +2988,7 @@ _edje_entry_items_list(Edje_Real_Part *rp) EINA_LIST_FOREACH(en->anchors, l, an) { const char *n = an->name; - if (an->item) continue; + if (!an->item) continue; if (!n) n = ""; items = eina_list_append(items, strdup(n)); } --