Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src/bin


Modified Files:
        ephoto_utils.c 


Log Message:
Minor fix

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/bin/ephoto_utils.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ephoto_utils.c      5 Dec 2006 03:04:15 -0000       1.2
+++ ephoto_utils.c      5 Dec 2006 03:10:10 -0000       1.3
@@ -10,9 +10,10 @@
        {
                ls = ecore_list_new();
                files = ecore_list_new();
-
-               ecore_list_append(files, strdup(".."));
-
+               if (strcmp(directory, "/"))
+               {
+                       ecore_list_append(files, strdup(".."));
+               }
                ls = ecore_file_ls(directory);
                while (!ecore_list_is_empty(ls))
                {



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