Piotr Caban : oleaut32: Don't use strcasecmp.
Alexandre Julliard
julliard at winehq.org
Fri Mar 29 16:28:12 CDT 2019
Module: wine
Branch: master
Commit: fb30510352508b6cd48ebd6f58243d0949557be2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=fb30510352508b6cd48ebd6f58243d0949557be2
Author: Piotr Caban <piotr at codeweavers.com>
Date: Fri Mar 29 16:28:07 2019 +0100
oleaut32: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleaut32/typelib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index acd4d07..521f1a3 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -3090,7 +3090,7 @@ static BOOL find_ne_resource( HFILE lzfd, LPCSTR typeid, LPCSTR resid,
if (!(typeInfo->type_id & 0x8000))
{
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->count * sizeof(NE_NAMEINFO));
@@ -3120,7 +3120,7 @@ static BOOL find_ne_resource( HFILE lzfd, LPCSTR typeid, LPCSTR resid,
{
BYTE *p = resTab + nameInfo->id;
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 */
More information about the wine-cvs
mailing list