mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
fix GeoID bug (forgotten \0)
svn path=/trunk/; revision=48883
This commit is contained in:
parent
28b33bcfe7
commit
0b903df4a7
|
@ -989,7 +989,7 @@ SetGeoID(PWCHAR Id)
|
||||||
0,
|
0,
|
||||||
REG_SZ,
|
REG_SZ,
|
||||||
(PVOID)Id,
|
(PVOID)Id,
|
||||||
(wcslen(Id) * sizeof(WCHAR)));
|
(wcslen(Id) + 1) * sizeof(WCHAR));
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("NtSetValueKey() failed (Status = %lx)\n", Status);
|
DPRINT1("NtSetValueKey() failed (Status = %lx)\n", Status);
|
||||||
|
|
Loading…
Reference in a new issue