Enlightenment CVS committal

Author  : werkt
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_sheap.c 


Log Message:
Fixed ecore_sheap_change to use the heap compare function.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_sheap.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ecore_sheap.c       8 May 2004 04:44:04 -0000       1.3
+++ ecore_sheap.c       10 Aug 2004 00:30:49 -0000      1.4
@@ -215,7 +215,7 @@
 
        CHECK_PARAM_POINTER_RETURN("heap", heap, FALSE);
 
-       for (i = 0; i < heap->size && heap->data[i] != item; heap++);
+       for (i = 0; i < heap->size && heap->compare(heap->data[i], item); heap++);
 
        if (i < heap->size)
                heap->data[i] = newval;




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to