Author: mkupfer
Date: Sat Sep 25 18:24:57 2010
New Revision: 48883
URL:
http://svn.reactos.org/svn/reactos?rev=48883&view=rev
Log:
fix GeoID bug (forgotten \0)
Modified:
trunk/reactos/base/setup/usetup/settings.c
Modified: trunk/reactos/base/setup/usetup/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/settings…
==============================================================================
--- trunk/reactos/base/setup/usetup/settings.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/settings.c [iso-8859-1] Sat Sep 25 18:24:57 2010
@@ -989,7 +989,7 @@
0,
REG_SZ,
(PVOID)Id,
- (wcslen(Id) * sizeof(WCHAR)));
+ (wcslen(Id) + 1) * sizeof(WCHAR));
if (!NT_SUCCESS(Status))
{
DPRINT1("NtSetValueKey() failed (Status = %lx)\n", Status);