summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-07-29 16:07:10 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-07-29 16:07:10 +0000
commit943c069e2b44cdb0ee59f34ee45830371e2e754c (patch)
tree34a1d38905c7db34d38776faa3b0577ff8cab910
parent67ec384e14f654d76889dced828e7c9ee56ba08a (diff)
elementary: fix genlist sorted insert to not loose track of subitem.
SVN revision: 61901
-rw-r--r--src/lib/elm_genlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 9ad7a7f56..4f5e1601b 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -3514,7 +3514,7 @@ elm_genlist_item_direct_sorted_insert(Evas_Object *obj,
3514 else 3514 else
3515 rel = it->parent; 3515 rel = it->parent;
3516 3516
3517 if (cmp_result > 0) 3517 if (cmp_result >= 0)
3518 { 3518 {
3519 it->parent->items = eina_list_prepend_relative_list(it->parent->items, it, l); 3519 it->parent->items = eina_list_prepend_relative_list(it->parent->items, it, l);
3520 wd->items = eina_inlist_prepend_relative(wd->items, EINA_INLIST_GET(it), EINA_INLIST_GET(rel)); 3520 wd->items = eina_inlist_prepend_relative(wd->items, EINA_INLIST_GET(it), EINA_INLIST_GET(rel));