user32: Fixed sizeof() to MultiByteToWideChar.

This commit is contained in:
Marcus Meissner 2013-11-05 21:54:27 +01:00 committed by Alexandre Julliard
parent a160a65317
commit 6f3d942fa4
1 changed files with 1 additions and 1 deletions

View File

@ -1041,7 +1041,7 @@ static void test_comctl32_class( const char *name )
ret = GetClassInfoA( 0, name, &wcA );
ok( ret || broken(!ret) /* <= winxp */, "GetClassInfoA failed for %s\n", name );
if (!ret) return;
MultiByteToWideChar( CP_ACP, 0, name, -1, nameW, sizeof(nameW) );
MultiByteToWideChar( CP_ACP, 0, name, -1, nameW, sizeof(nameW)/sizeof(WCHAR) );
ret = GetClassInfoW( 0, nameW, &wcW );
ok( ret, "GetClassInfoW failed for %s\n", name );
module = GetModuleHandleA( "comctl32" );