[Pkg-e-commits] [SCM] Enlightenment DR17 advanced canvas library branch, upstream-vcs, updated. 069f3cc6c93f253bffbc90289fe21d868f745bb6

cedric cedric at alioth.debian.org
Sat Jun 7 18:24:38 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit 1c664bd5f87bb47035999f3cf1e5065bc324fdc8
Author: cedric <cedric>
Date:   Thu Jun 5 08:12:25 2008 +0000

    Forgot to update the current allocated space.

diff --git a/src/lib/data/evas_array.c b/src/lib/data/evas_array.c
index 04a979f..95ea6d9 100644
--- a/src/lib/data/evas_array.c
+++ b/src/lib/data/evas_array.c
@@ -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;
 }

-- 
Enlightenment DR17 advanced canvas library



More information about the Pkg-e-commits mailing list