mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
- Fix r26980 hack.
svn path=/trunk/; revision=26983
This commit is contained in:
@@ -133,7 +133,9 @@ RegpOpenOrCreateKey(
|
||||
RtlInitUnicodeString(&KeyString, LocalKeyName);
|
||||
|
||||
/* Redirect from 'CurrentControlSet' to 'ControlSet001' */
|
||||
if (!wcsncmp(LocalKeyName, L"CurrentControlSet", 17))
|
||||
if (!wcsncmp(LocalKeyName, L"CurrentControlSet", 17) &&
|
||||
ParentKey->NameSize == 12 &&
|
||||
!memcmp(ParentKey->Name, L"SYSTEM", 12))
|
||||
RtlInitUnicodeString(&KeyString, L"ControlSet001");
|
||||
|
||||
/* Check subkey in memory structure */
|
||||
|
||||
Reference in New Issue
Block a user