Commit 359de0a9 authored by Alexandre Julliard's avatar Alexandre Julliard

mapi32/tests: Get rid of strcmpW().

parent 280e51e1
...@@ -99,12 +99,6 @@ static ULONG ptTypes[] = { ...@@ -99,12 +99,6 @@ static ULONG ptTypes[] = {
PT_STRING8, PT_BINARY, PT_UNICODE 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 void test_PropCopyMore(void)
{ {
static char szHiA[] = "Hi!"; static char szHiA[] = "Hi!";
...@@ -168,7 +162,7 @@ static void test_PropCopyMore(void) ...@@ -168,7 +162,7 @@ static void test_PropCopyMore(void)
"PropCopyMore: Ascii string differs\n"); "PropCopyMore: Ascii string differs\n");
break; break;
case PT_UNICODE: 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"); "PropCopyMore: Unicode string differs\n");
break; break;
case PT_BINARY: case PT_BINARY:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment