Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        e16-ecore_list.c 


Log Message:
Slightly faster.

===================================================================
RCS file: /cvs/e/e16/e/src/e16-ecore_list.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e16-ecore_list.c    13 May 2006 10:03:08 -0000      1.5
+++ e16-ecore_list.c    25 Jul 2006 02:01:31 -0000      1.6
@@ -969,7 +969,10 @@
 {
    void               *data;
 
-   for (ecore_list_goto_first(list); (data = ecore_list_next(list)) != NULL;)
+   if (!list || !function)
+      return NULL;
+
+   for (_ecore_list_goto_first(list); (data = _ecore_list_next(list)) != NULL;)
       if (!function(data, match))
         return data;
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to