lstrncmpi isn't a windows API, use strncasecmp instead.

This commit is contained in:
Huw D M Davies 1999-09-04 14:23:26 +00:00 committed by Alexandre Julliard
parent d10ca9ce46
commit 65e26bf205

View File

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