Avoid use of strncmpi (reported by Ron Cemer).

This commit is contained in:
Alexandre Julliard 1999-06-06 17:25:27 +00:00
parent 51f5842089
commit 6f363dfcd2

View file

@ -229,7 +229,7 @@ HKEY getDataType(LPSTR *lpValue)
for (; counter < LAST_TYPE_MAP; counter++) for (; counter < LAST_TYPE_MAP; counter++)
{ {
LONG len = strlen(typeMap[counter].mask); 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 * We found it, modify the value's pointer in order to skip the data