Don't call file_list_get_alt_at_offset directly

This commit is contained in:
twinaphex 2015-10-18 21:55:19 +02:00
parent 14e46e0048
commit 92a8736318

View File

@ -250,7 +250,9 @@ static int menu_list_elem_get_first_char(
int ret;
const char *path = NULL;
file_list_get_alt_at_offset(list, offset, &path);
menu_entries_get_at_offset(list, offset,
NULL, NULL, NULL, NULL, &path);
ret = tolower((int)*path);
/* "Normalize" non-alphabetical entries so they