menu_list_elem_is_dir - change how we determine element is a directory

This commit is contained in:
twinaphex 2015-06-12 15:48:11 +02:00
parent 30e29cfb5a
commit 015a882c2b

View File

@ -49,7 +49,7 @@ static bool menu_list_elem_is_dir(file_list_t *list,
menu_list_get_at_offset(list, offset, &path, &label, &type, NULL);
return type != MENU_FILE_PLAIN;
return type == MENU_FILE_DIRECTORY;
}
/**