From 82d4cd9f1902213ab6a6821f23f0082aa5b895fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kelemen?= Date: Tue, 26 Oct 2021 22:01:38 +0200 Subject: [PATCH] do not sort FILE_TYPE_DOWNLOAD_LAKKA type list (#13156) the `.index` file downloaded using the updater already has the files sorted from latest version to oldest, so sorting is not wanted here --- menu/menu_displaylist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 919b239070..a25061c123 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -9811,7 +9811,7 @@ static unsigned print_buf_lines(file_list_t *list, char *buf, line_start = buf + i + 1; } - if (append) + if (append && type != FILE_TYPE_DOWNLOAD_LAKKA) file_list_sort_on_alt(list); /* If the buffer was completely full, and didn't end * with a newline, just ignore the partial last line. */