mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[MKHIVE]
- Perform a case insensitive comparison to find existing subkeys in the tree. Dedicated to Hervé ;-) svn path=/trunk/; revision=64516
This commit is contained in:
parent
34967fb279
commit
d01ad886a0
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
* PROJECT: ReactOS hive maker
|
||||
* FILE: tools/mkhive/registry.c
|
||||
* PURPOSE: Registry code
|
||||
* PROGRAMMER: Hervé Poussineau
|
||||
* PROGRAMMER: Hervé Poussineau
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -159,7 +159,7 @@ RegpOpenOrCreateKey(
|
|||
{
|
||||
CurrentKey = CONTAINING_RECORD(Ptr, KEY, KeyList);
|
||||
if (CurrentKey->NameSize == KeyString.Length
|
||||
&& memcmp(CurrentKey->Name, KeyString.Buffer, KeyString.Length) == 0)
|
||||
&& strncmpiW(CurrentKey->Name, KeyString.Buffer, KeyString.Length / sizeof(WCHAR)) == 0)
|
||||
{
|
||||
goto nextsubkey;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue