Check whether the found item is a directory.

SVN revision: 39524
This commit is contained in:
Sebastian Dransfeld 2009-03-17 13:42:21 +00:00
parent 8d40d92f83
commit 5378f8d4d6
1 changed files with 1 additions and 1 deletions

View File

@ -874,7 +874,7 @@ efreet_icon_fallback_dir_scan(const char *dir, const char *icon_name)
#ifdef SLOPPY_SPEC
if (!icon)
{
if (ecore_file_exists(path))
if ((ecore_file_exists(path)) && (!ecore_file_is_dir(path)))
{
icon = strdup(path);
#ifdef STRICT_SPEC