Francois Gouget : kernel32/tests: Fix the lcid and expected value in a codepage ok() call.
Module: wine Branch: master Commit: af638bc1176b8bd34a9323204c690a5e034cdc57 URL: https://source.winehq.org/git/wine.git/?a=commit;h=af638bc1176b8bd34a9323204... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Thu Nov 21 16:14:02 2019 +0100 kernel32/tests: Fix the lcid and expected value in a codepage ok() call. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/kernel32/tests/codepage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/tests/codepage.c b/dlls/kernel32/tests/codepage.c index 8b6584415c..8fcc575a29 100644 --- a/dlls/kernel32/tests/codepage.c +++ b/dlls/kernel32/tests/codepage.c @@ -1126,7 +1126,7 @@ static void test_threadcp(void) cp = 0xdeadbeef; GetLocaleInfoA(lcids[i].lcid, LOCALE_IDEFAULTANSICODEPAGE|LOCALE_RETURN_NUMBER, (LPSTR)&cp, sizeof(cp)); - ok(cp == lcids[i].threadcp, "wrong codepage %u for lcid %04x, should be %u\n", cp, lcids[i].threadcp, cp); + ok(cp == lcids[i].threadcp, "wrong codepage %u for lcid %04x, should be %u\n", cp, lcids[i].lcid, lcids[i].threadcp); /* GetCPInfoEx/GetCPInfo - CP_ACP */ SetLastError(0xdeadbeef);
participants (1)
-
Alexandre Julliard