forked from enlightenment/efl
Check whether the found item is a directory.
SVN revision: 39524
This commit is contained in:
parent
8d40d92f83
commit
5378f8d4d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue