From 6159d94e5df232877f7ace9490a814a2fa36fbe7 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Wed, 28 Aug 2019 01:58:12 +0300 Subject: [PATCH] nyx: Fix autoboot list for inis --- nyx/nyx_gui/frontend/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyx/nyx_gui/frontend/gui.c b/nyx/nyx_gui/frontend/gui.c index f21c08d..7bdf13e 100644 --- a/nyx/nyx_gui/frontend/gui.c +++ b/nyx/nyx_gui/frontend/gui.c @@ -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;