mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 22:30:15 +00:00
user32/tests: Fix size passed to ToUnicode.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
This commit is contained in:
parent
9260e6333b
commit
aa1cc9ad38
|
@ -3186,7 +3186,7 @@ static void test_ToAscii(void)
|
|||
ok(character == '\r', "ToAscii for Return was %i (expected 13)\n", character);
|
||||
|
||||
wstr[0] = 0;
|
||||
ret = ToUnicode('A', SC_A, state, wstr, sizeof(wstr), 0);
|
||||
ret = ToUnicode('A', SC_A, state, wstr, ARRAY_SIZE(wstr), 0);
|
||||
ok(ret == 1, "ToUnicode(A) returned %i, expected 1\n", ret);
|
||||
|
||||
str[0] = '\0';
|
||||
|
|
Loading…
Reference in a new issue