mirror of
https://github.com/reactos/reactos.git
synced 2024-07-15 17:06:29 +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,
|
||||
REG_SZ,
|
||||
(PVOID)Id,
|
||||
(wcslen(Id) * sizeof(WCHAR)));
|
||||
(wcslen(Id) + 1) * sizeof(WCHAR));
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("NtSetValueKey() failed (Status = %lx)\n", Status);
|
||||
|
|
Loading…
Reference in a new issue