summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorrbdpngn <rbdpngn>2005-07-21 18:47:04 +0000
committerrbdpngn <rbdpngn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-07-21 18:47:04 +0000
commit898b69b88cab7a3d9e3127a7638a4f42e4b9c113 (patch)
treea075728ac46fb46fff128a606b46a081db2a7ccd /legacy
parent85e5f8f434e4b40bc94463456dba7c7f98c4edec (diff)
List consistency fix from Dylan Shell.
SVN revision: 15859
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_list.c b/legacy/ecore/src/lib/ecore/ecore_list.c
index 64de7ff30c..82562b9f70 100644
--- a/legacy/ecore/src/lib/ecore/ecore_list.c
+++ b/legacy/ecore/src/lib/ecore/ecore_list.c
@@ -372,6 +372,9 @@ static int _ecore_list_append_0(Ecore_List * list, Ecore_List_Node *end)
372 list->current = NULL; 372 list->current = NULL;
373 } 373 }
374 374
375 if (list->index >= list->nodes)
376 list->index++;
377
375 list->nodes++; 378 list->nodes++;
376 379
377 return TRUE; 380 return TRUE;