Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/epsilon

Dir     : e17/libs/epsilon/src/bin


Modified Files:
        epsilon_thumb_test.c 


Log Message:
Fix incomplete image count so that it doesn't count directories.

===================================================================
RCS file: /cvs/e/e17/libs/epsilon/src/bin/epsilon_thumb_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- epsilon_thumb_test.c        31 May 2006 00:31:05 -0000      1.3
+++ epsilon_thumb_test.c        4 Aug 2006 02:35:55 -0000       1.4
@@ -60,9 +60,11 @@
 
                snprintf(fullpath, PATH_MAX, "%s/%s", argv[1], file);
                realpath = ecore_file_realpath(fullpath);
-               if (ecore_file_exists(realpath) && !ecore_file_is_dir(realpath))
+               if (ecore_file_exists(realpath) && 
!ecore_file_is_dir(realpath)) {
                        epsilon_add(realpath, NULL, EPSILON_THUMB_NORMAL, NULL);
-               incomplete_thumbs++;
+                       incomplete_thumbs++;
+               }
+               free(realpath);
        }
 
        ecore_main_loop_begin();



-------------------------------------------------------------------------
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