Check if file really is something.

SVN revision: 17016
This commit is contained in:
sebastid 2005-09-28 02:27:23 +00:00 committed by sebastid
parent f6454d1a67
commit 1270de6ac5
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ ecore_file_app_installed(const char *app)
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;