Forgot to update the current allocated space.

SVN revision: 34744
This commit is contained in:
Cedric BAIL 2008-06-05 08:12:25 +00:00
parent 66bc74847c
commit 6a1b1c5ef9
1 changed files with 4 additions and 1 deletions

View File

@ -103,11 +103,14 @@ evas_array_remove(Evas_Array *array, Evas_Bool (*keep)(void *data, void *gdata),
if (total == 0)
{
array->total = 0;
array->data = NULL;
free(tmp);
}
else
array->data = tmp;
{
array->data = tmp;
}
array->count = total;
}