Author: akhaldi
Date: Sat Apr 21 10:41:16 2012
New Revision: 56380
URL:
http://svn.reactos.org/svn/reactos?rev=56380&view=rev
Log:
[MSCONFIG]
* Get the timeout correctly. Patch by Edijs Kolesnikovics.
See issue #6964 for more details.
Modified:
trunk/reactos/base/applications/msconfig/freeldrpage.c
Modified: trunk/reactos/base/applications/msconfig/freeldrpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/freeldrpage.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/msconfig/freeldrpage.c [iso-8859-1] Sat Apr 21
10:41:16 2012
@@ -64,13 +64,13 @@
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;