mirror of
https://github.com/reactos/reactos.git
synced 2024-07-08 21:55:08 +00:00
[MSCONFIG]
* Get the timeout correctly. Patch by Edijs Kolesnikovics. See issue #6964 for more details. svn path=/trunk/; revision=56380
This commit is contained in:
parent
1a908c8114
commit
0c1c4c5793
|
@ -64,13 +64,13 @@ LoadBootIni(WCHAR *szDrive, HWND hDlg)
|
|||
if (szBuffer[0] == L'[')
|
||||
continue;
|
||||
|
||||
if (!wcsncmp(szBuffer, L"timeout=", 8))
|
||||
if (!_wcsnicmp(szBuffer, L"timeout=", 8))
|
||||
{
|
||||
Settings.TimeOut = _wtoi(&szBuffer[8]);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!wcsncmp(szBuffer, L"default=", 8))
|
||||
if (!_wcsnicmp(szBuffer, L"default=", 8))
|
||||
{
|
||||
wcscpy(Settings.szDefaultOS, &szBuffer[8]);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue