mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
oleaut32: Fixed buffer size to MBtoWC.
This commit is contained in:
parent
ace8b53418
commit
9d7219dfb9
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ static void test_var_call2( int line, HRESULT (WINAPI *func)(LPVARIANT,LPVARIANT
|
|||
static int strcmp_wa(const WCHAR *strw, const char *stra)
|
||||
{
|
||||
WCHAR buf[512];
|
||||
MultiByteToWideChar(CP_ACP, 0, stra, -1, buf, sizeof(buf));
|
||||
MultiByteToWideChar(CP_ACP, 0, stra, -1, buf, sizeof(buf)/sizeof(buf[0]));
|
||||
return lstrcmpW(strw, buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue