nyx: Fix autoboot list for inis

This commit is contained in:
CTCaer committed 2019-08-28 01:58:12 +03:00
1 parent 565956482a
commit 6159d94e5d
1 file changed
+1 -1
+1 -1
View File
@@ -671,7 +671,7 @@ static void _create_autoboot_window()
LIST_INIT(ini_list_sections);
if (ini_parse(&ini_list_sections, "bootloader/ini", true))
{
LIST_FOREACH_ENTRY(ini_sec_t, ini_sec, &ini_sections, link)
LIST_FOREACH_ENTRY(ini_sec_t, ini_sec, &ini_list_sections, link)
{
if (!strcmp(ini_sec->name, "config") || (ini_sec->type != INI_CHOICE))
continue;