kernel32/tests: Fixed size to MultiByteToWideChar.

This commit is contained in:
Marcus Meissner 2007-08-01 08:13:07 +02:00 committed by Alexandre Julliard
parent e06016fae0
commit 1ad6abfbbc
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ static int strcmp_aw(LPCWSTR strw, const char *stra)
WCHAR buf[1024];
if (!stra) return 1;
MultiByteToWideChar(CP_ACP, 0, stra, -1, buf, sizeof(buf));
MultiByteToWideChar(CP_ACP, 0, stra, -1, buf, sizeof(buf)/sizeof(WCHAR));
return lstrcmpW(strw, buf);
}