mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 07:44:06 +00:00
Avoid use of strncmpi (reported by Ron Cemer).
This commit is contained in:
parent
51f5842089
commit
6f363dfcd2
|
@ -229,7 +229,7 @@ HKEY getDataType(LPSTR *lpValue)
|
|||
for (; counter < LAST_TYPE_MAP; counter++)
|
||||
{
|
||||
LONG len = strlen(typeMap[counter].mask);
|
||||
if ( strncmpi( *lpValue, typeMap[counter].mask, len) == IDENTICAL)
|
||||
if ( lstrncmpi( *lpValue, typeMap[counter].mask, len) == IDENTICAL)
|
||||
{
|
||||
/*
|
||||
* We found it, modify the value's pointer in order to skip the data
|
||||
|
|
Loading…
Reference in a new issue