Enlightenment CVS committal

Author  : cedric
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/data


Modified Files:
        evas_array.c 


Log Message:
Forgot to update the current allocated space.


===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/data/evas_array.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_array.c        4 Jun 2008 16:39:43 -0000       1.2
+++ evas_array.c        5 Jun 2008 08:12:25 -0000       1.3
@@ -103,11 +103,14 @@
 
    if (total == 0)
      {
+       array->total = 0;
        array->data = NULL;
        free(tmp);
      }
    else
-     array->data = tmp;
+     {
+       array->data = tmp;
+     }
 
    array->count = total;
 }



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to