mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 11:48:04 +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'[')
|
if (szBuffer[0] == L'[')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!wcsncmp(szBuffer, L"timeout=", 8))
|
if (!_wcsnicmp(szBuffer, L"timeout=", 8))
|
||||||
{
|
{
|
||||||
Settings.TimeOut = _wtoi(&szBuffer[8]);
|
Settings.TimeOut = _wtoi(&szBuffer[8]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wcsncmp(szBuffer, L"default=", 8))
|
if (!_wcsnicmp(szBuffer, L"default=", 8))
|
||||||
{
|
{
|
||||||
wcscpy(Settings.szDefaultOS, &szBuffer[8]);
|
wcscpy(Settings.szDefaultOS, &szBuffer[8]);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue