From 232255f3c5c48a2685d317101d0c0d068414a6ae Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 4 Apr 2019 17:04:53 +0200 Subject: [PATCH] shell32: Don't use strcasecmp. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/shell32/pidl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index e11a918c32b..54fb8185264 100644 --- a/dlls/shell32/pidl.c +++ b/dlls/shell32/pidl.c @@ -511,7 +511,7 @@ BOOL WINAPI ILIsEqual(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2) _ILSimpleGetText(pidltemp1, szData1, MAX_PATH); _ILSimpleGetText(pidltemp2, szData2, MAX_PATH); - if (strcasecmp( szData1, szData2 )) + if (lstrcmpiA( szData1, szData2 )) return FALSE; pidltemp1 = ILGetNext(pidltemp1); @@ -563,7 +563,7 @@ BOOL WINAPI ILIsParent(LPCITEMIDLIST pidlParent, LPCITEMIDLIST pidlChild, BOOL b _ILSimpleGetText(pParent, szData1, MAX_PATH); _ILSimpleGetText(pChild, szData2, MAX_PATH); - if (strcasecmp( szData1, szData2 )) + if (lstrcmpiA( szData1, szData2 )) return FALSE; pParent = ILGetNext(pParent); @@ -630,7 +630,7 @@ LPITEMIDLIST WINAPI ILFindChild(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2) _ILSimpleGetText(pidltemp1, szData1, MAX_PATH); _ILSimpleGetText(pidltemp2, szData2, MAX_PATH); - if (strcasecmp(szData1,szData2)) + if (lstrcmpiA(szData1,szData2)) break; pidltemp1 = ILGetNext(pidltemp1);