diff --git a/src/bin/ephoto.h b/src/bin/ephoto.h index 0f111f7..cb92d4a 100644 --- a/src/bin/ephoto.h +++ b/src/bin/ephoto.h @@ -353,7 +353,8 @@ _ephoto_eina_file_direct_info_image_useful(const Eina_File_Direct_Info *info) bname = info->path + info->name_start; if (bname[0] == '.') return EINA_FALSE; - if ((info->type != EINA_FILE_REG) && (info->type != EINA_FILE_UNKNOWN)) + if ((info->type != EINA_FILE_REG) && (info->type != EINA_FILE_UNKNOWN) && + info->type != EINA_FILE_LNK) return EINA_FALSE; type = strrchr(bname, '.'); diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c index ef6e37d..b90ac08 100644 --- a/src/bin/ephoto_main.c +++ b/src/bin/ephoto_main.c @@ -745,7 +745,7 @@ _ephoto_populate_filter(void *data, Eio_File *handler EINA_UNUSED, { return ecore_file_is_dir(ecore_file_realpath(info->path)); } - if (!ed->dirs_only) + else if (!ed->dirs_only) return _ephoto_eina_file_direct_info_image_useful(info); else return EINA_FALSE;