List consistency fix from Dylan Shell.

SVN revision: 15859
This commit is contained in:
rbdpngn 2005-07-21 18:47:04 +00:00 committed by rbdpngn
parent 85e5f8f434
commit 898b69b88c
1 changed files with 3 additions and 0 deletions

View File

@ -372,6 +372,9 @@ static int _ecore_list_append_0(Ecore_List * list, Ecore_List_Node *end)
list->current = NULL;
}
if (list->index >= list->nodes)
list->index++;
list->nodes++;
return TRUE;