mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:42:57 +00:00
fix GeoID bug (forgotten \0)
svn path=/trunk/; revision=48883
This commit is contained in:
parent
28b33bcfe7
commit
0b903df4a7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue