Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_intl.c 


Log Message:
The right way (tm)!

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- e_intl.c    6 Oct 2005 19:29:02 -0000       1.41
+++ e_intl.c    6 Oct 2005 23:47:03 -0000       1.42
@@ -101,10 +101,13 @@
    if (!files) return NULL;
    
    ecore_list_goto_first(files);
-   while ((file = ecore_list_current(files)))
+   if (files)
      {
-       ecore_list_remove(files);
-       ecore_list_next(files);
+       while ((file = ecore_list_next(files)))
+         {
+            /* Do something! */
+         }
+       ecore_list_destroy(files);
      }
    return NULL;
 }




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to