mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
one more fix (on request of Pierre S.)
svn path=/trunk/; revision=48888
This commit is contained in:
@@ -683,15 +683,13 @@ ProcessLocaleRegistry(PGENERIC_LIST List)
|
||||
REG_SZ,
|
||||
(PVOID)(LanguageId + 4),
|
||||
8 * sizeof(PWCHAR));
|
||||
NtClose(KeyHandle);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("NtSetValueKey() failed (Status %lx)\n", Status);
|
||||
NtClose(KeyHandle);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
NtClose(KeyHandle);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -990,14 +988,13 @@ SetGeoID(PWCHAR Id)
|
||||
REG_SZ,
|
||||
(PVOID)Id,
|
||||
(wcslen(Id) + 1) * sizeof(WCHAR));
|
||||
NtClose(KeyHandle);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("NtSetValueKey() failed (Status = %lx)\n", Status);
|
||||
NtClose(KeyHandle);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
NtClose(KeyHandle);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user