Author: jgardou
Date: Sun Aug 28 22:39:50 2011
New Revision: 53485
URL:
http://svn.reactos.org/svn/reactos?rev=53485&view=rev
Log:
[SYSSETUP]
- fix WCHAR/TCHAR confusion
Modified:
trunk/reactos/dll/win32/syssetup/wizard.c
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] Sun Aug 28 22:39:50 2011
@@ -997,7 +997,7 @@
break;
}
- dwValueSize = 64 * sizeof(TCHAR);
+ dwValueSize = 64 * sizeof(WCHAR);
if (RegQueryValueExW(hZoneKey,
L"Display",
NULL,
@@ -1009,7 +1009,7 @@
break;
}
- dwValueSize = 32 * sizeof(TCHAR);
+ dwValueSize = 32 * sizeof(WCHAR);
if (RegQueryValueExW(hZoneKey,
L"Std",
NULL,
@@ -1147,7 +1147,7 @@
&hKey))
return FALSE;
- dwValueSize = 9 * sizeof(TCHAR);
+ dwValueSize = 9 * sizeof(WCHAR);
if (RegQueryValueExW(hKey,
L"Default",
NULL,