prevent infinite looping while loading directory props in efm

SVN revision: 74214
This commit is contained in:
Mike Blumenkrantz 2012-07-20 07:59:13 +00:00
parent d199c58904
commit f780d740ce
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ _e_fm2_dir_load_props_from_parent(const char *path)
parent = ecore_file_dir_get(path);
cf = e_fm2_custom_file_get(parent);
if ((cf) && (cf->dir) && (cf->dir->prop.in_use))
if (((cf) && (cf->dir) && (cf->dir->prop.in_use)) || (!strcmp(parent, path)))
{
free(parent);
return cf;