From: <enl...@li...> - 2004-08-10 00:31:02
|
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; |