Enlightenment CVS committal

Author  : amedeiros
Project : e17
Module  : libs/evas

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


Modified Files:
        evas_list.c 


Log Message:
* Fixes segfault in the evas_list_sort algorithm (patch submitted by Antoine 
Perdaens)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/data/evas_list.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- evas_list.c 1 Feb 2005 03:12:26 -0000       1.10
+++ evas_list.c 25 Feb 2005 15:15:41 -0000      1.11
@@ -863,10 +863,10 @@
        if(ll->prev)
        {
            list->last = ll->prev;
-           list->count = size - range;
+           list->count = range;
        }
        ll->prev->next = NULL;
-       ll->count = range;
+       ll->count = size - range;
 
        /* merge sort */
        l = evas_list_sort(list, range, func);




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to