mapi32/tests: Get rid of strcmpW().

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-01-26 10:55:59 +01:00
parent 280e51e114
commit 359de0a90d
1 changed files with 1 additions and 7 deletions

View File

@ -99,12 +99,6 @@ static ULONG ptTypes[] = {
PT_STRING8, PT_BINARY, PT_UNICODE
};
static inline int strcmpW(const WCHAR *str1, const WCHAR *str2)
{
while (*str1 && (*str1 == *str2)) { str1++; str2++; }
return *str1 - *str2;
}
static void test_PropCopyMore(void)
{
static char szHiA[] = "Hi!";
@ -168,7 +162,7 @@ static void test_PropCopyMore(void)
"PropCopyMore: Ascii string differs\n");
break;
case PT_UNICODE:
ok(strcmpW(lpDest->Value.lpszW, lpSrc->Value.lpszW) == 0,
ok(wcscmp(lpDest->Value.lpszW, lpSrc->Value.lpszW) == 0,
"PropCopyMore: Unicode string differs\n");
break;
case PT_BINARY: