Commit aa1cc9ad authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

user32/tests: Fix size passed to ToUnicode.

parent 9260e633
......@@ -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';
......
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