mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 20:55:40 +00:00
oleaut32: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
80f343e497
commit
fb30510352
|
@ -3090,7 +3090,7 @@ static BOOL find_ne_resource( HFILE lzfd, LPCSTR typeid, LPCSTR resid,
|
||||||
if (!(typeInfo->type_id & 0x8000))
|
if (!(typeInfo->type_id & 0x8000))
|
||||||
{
|
{
|
||||||
BYTE *p = resTab + typeInfo->type_id;
|
BYTE *p = resTab + typeInfo->type_id;
|
||||||
if ((*p == len) && !strncasecmp( (char*)p+1, typeid, len )) goto found_type;
|
if ((*p == len) && !_strnicmp( (char*)p+1, typeid, len )) goto found_type;
|
||||||
}
|
}
|
||||||
typeInfo = (NE_TYPEINFO *)((char *)(typeInfo + 1) +
|
typeInfo = (NE_TYPEINFO *)((char *)(typeInfo + 1) +
|
||||||
typeInfo->count * sizeof(NE_NAMEINFO));
|
typeInfo->count * sizeof(NE_NAMEINFO));
|
||||||
|
@ -3120,7 +3120,7 @@ static BOOL find_ne_resource( HFILE lzfd, LPCSTR typeid, LPCSTR resid,
|
||||||
{
|
{
|
||||||
BYTE *p = resTab + nameInfo->id;
|
BYTE *p = resTab + nameInfo->id;
|
||||||
if (nameInfo->id & 0x8000) continue;
|
if (nameInfo->id & 0x8000) continue;
|
||||||
if ((*p == len) && !strncasecmp( (char*)p+1, resid, len )) goto found_name;
|
if ((*p == len) && !_strnicmp( (char*)p+1, resid, len )) goto found_name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else /* numeric resource id */
|
else /* numeric resource id */
|
||||||
|
|
Loading…
Reference in a new issue