Commit 6f363dfc authored by Alexandre Julliard's avatar Alexandre Julliard

Avoid use of strncmpi (reported by Ron Cemer).

parent 51f58420
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment