1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-23 02:16:41 +00:00

nyx: Fix autoboot list for inis

This commit is contained in:
CTCaer 2019-08-28 01:58:12 +03:00
parent 565956482a
commit 6159d94e5d

View file

@ -671,7 +671,7 @@ static void _create_autoboot_window()
LIST_INIT(ini_list_sections); LIST_INIT(ini_list_sections);
if (ini_parse(&ini_list_sections, "bootloader/ini", true)) 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)) if (!strcmp(ini_sec->name, "config") || (ini_sec->type != INI_CHOICE))
continue; continue;