[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:
Amine Khaldi 2012-04-21 10:41:16 +00:00
parent 1a908c8114
commit 0c1c4c5793

View file

@ -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;