mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-20 05:11:42 +00:00
nyx: Fix autoboot list for inis
This commit is contained in:
parent
565956482a
commit
6159d94e5d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user