mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[SETUPLIB] Improve the Freeldr timeout INI setting hack-fix. Dedicated to Mark Jansen ;-) CORE-15193
This commit is contained in:
parent
91b013d387
commit
a31d2f820a
1 changed files with 2 additions and 3 deletions
|
@ -230,8 +230,7 @@ CreateCommonFreeLdrSections(
|
|||
|
||||
/* Timeout=0 */
|
||||
IniCacheInsertKey(BootStore->OptionsIniSection, NULL, INSERT_LAST,
|
||||
// L"TimeOut", L"0"); // FIXME!! There is a bug in the INI parser where a given key can be inserted twice in the same section...
|
||||
L"TimeOut", L"10");
|
||||
L"TimeOut", L"0");
|
||||
|
||||
/* Create "Display" section */
|
||||
IniSection = IniCacheAppendSection(BootStore->IniCache, L"Display");
|
||||
|
@ -1237,7 +1236,7 @@ SetBootStoreOptions(
|
|||
|
||||
RtlStringCchPrintfW(TimeoutStr, ARRAYSIZE(TimeoutStr), L"%d", BootOptions->Timeout);
|
||||
IniCacheInsertKey(((PBOOT_STORE_INI_CONTEXT)BootStore)->OptionsIniSection,
|
||||
NULL, INSERT_LAST,
|
||||
NULL, INSERT_FIRST, // INSERT_LAST, // FIXME!! There is a bug in the INI parser where a given key can be inserted twice in the same section...
|
||||
L"TimeOut", TimeoutStr);
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
|
|
Loading…
Reference in a new issue