diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index e58968d..caff08f 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -156,7 +156,8 @@ _ephoto_access_disk(Ecore_Thread *thread, void *data) { if (ecore_thread_check(thread)) break; - type = efreet_mime_type_get((const char *)file); + if (!(type = efreet_mime_type_get((const char *)file))) + continue; fprintf(stderr, "[%s] => [%s]\n", file, type); if (!strncmp(type, "image", 5))