This commit is contained in:
twinaphex 2015-09-25 16:36:47 +02:00
parent f0e406e7fe
commit 2a719d2a9c

View File

@ -170,9 +170,7 @@ static void menu_list_build_scroll_indices(file_list_t *list)
size_t scroll_indices = 0;
menu_navigation_t *nav = menu_navigation_get_ptr();
if (!nav || !list)
return;
if (!list->size)
if (!nav || !list || !list->size)
return;
nav->scroll.indices.list[scroll_indices++] = 0;