rage dir scan - include files of no mime in case mime db is not there

v-0.4.0
Carsten Haitzler 3 years ago
parent 6875aabc27
commit d8d4b76a69
  1. 4
      src/bin/main.c

@ -125,7 +125,9 @@ _cb_feedback_recursion(void *data, Ecore_Thread *thread EINA_UNUSED, void *msg)
EINA_LIST_FREE(list, path)
{
mime = efreet_mime_type_get(path);
if (!strncmp(mime, "audio/", 6) || !strncmp(mime, "video/", 6))
if ((!mime) ||
(!strncmp(mime, "audio/", 6)) ||
(!strncmp(mime, "video/", 6)))
{
update_content = EINA_TRUE;
win_list_hide(recursion->win);

Loading…
Cancel
Save