diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-03 20:33:05 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-03 20:33:05 +0900 |
commit | 4eb7b8192533451e216b00f6b32ca4340c035550 (patch) | |
tree | dcbb71bd7bbf8dccc2376ae2608a652fc3210b60 /src | |
parent | a3ce7c9b287e7ce643131207a31740f87e452ecc (diff) |
evas - re-fix to use first, last or if item is list head on text recomp
Diffstat (limited to '')
-rw-r--r-- | src/lib/evas/canvas/evas_object_text.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c index 4739a1121e..b61e7d0c68 100644 --- a/src/lib/evas/canvas/evas_object_text.c +++ b/src/lib/evas/canvas/evas_object_text.c | |||
@@ -169,7 +169,9 @@ _evas_object_text_item_del(Evas_Object_Text *o, Evas_Object_Text_Item *it) | |||
169 | else if (o->last_computed.ellipsis_end == it) | 169 | else if (o->last_computed.ellipsis_end == it) |
170 | o->last_computed.ellipsis_end = NULL; | 170 | o->last_computed.ellipsis_end = NULL; |
171 | 171 | ||
172 | if (EINA_INLIST_GET(it)->last) | 172 | if ((EINA_INLIST_GET(it)->next) || |
173 | (EINA_INLIST_GET(it)->prev) || | ||
174 | (o->items == (EINA_INLIST_GET(it)))) | ||
173 | o->items = (Evas_Object_Text_Item *)eina_inlist_remove | 175 | o->items = (Evas_Object_Text_Item *)eina_inlist_remove |
174 | (EINA_INLIST_GET(o->items), EINA_INLIST_GET(it)); | 176 | (EINA_INLIST_GET(o->items), EINA_INLIST_GET(it)); |
175 | _evas_object_text_item_clean(it); | 177 | _evas_object_text_item_clean(it); |