Enlightenment CVS committal Author : sebastid Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_file Modified Files: ecore_file_path.c Log Message: Check if file really is something. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_file/ecore_file_path.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ecore_file_path.c 28 Sep 2005 02:26:08 -0000 1.9 +++ ecore_file_path.c 28 Sep 2005 02:27:23 -0000 1.10 @@ -85,7 +85,7 @@ p = file; while ((*p) && !isspace(*p)) p++; - if ((p) && (*p)) + if ((*file) && (*p)) { *p = '\0'; if (ecore_file_exists(file) && ecore_file_can_exec(file)) return 1; ------------------------------------------------------- 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