From 015a882c2bb661dd6afae4aa7ea3aa5c65482175 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 12 Jun 2015 15:48:11 +0200 Subject: [PATCH] menu_list_elem_is_dir - change how we determine element is a directory --- menu/menu_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_list.c b/menu/menu_list.c index 2fa351c328..6df4f35a15 100644 --- a/menu/menu_list.c +++ b/menu/menu_list.c @@ -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; } /**