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 <cedric@osg.samsung.com>
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))
{
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));
}