Francois Gouget : user32/tests: Fix the keyboard layout id in an ok() message.
Module: wine Branch: master Commit: 623f9569fdb5647c68cfcb9ba1e938edad534869 URL: https://source.winehq.org/git/wine.git/?a=commit;h=623f9569fdb5647c68cfcb9ba... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Fri Jul 16 16:00:40 2021 +0200 user32/tests: Fix the keyboard layout id in an ok() message. The keyboard layout being tested is not the thread's default keyboard layout. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/tests/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c index 654cabb76d9..08323c4f40e 100644 --- a/dlls/user32/tests/input.c +++ b/dlls/user32/tests/input.c @@ -3166,7 +3166,7 @@ static void test_keyboard_layout_name(void) swprintf( tmpklid, KL_NAMELENGTH, L"%08X", layouts_preload[j] ); if (!wcscmp( tmpklid, klid )) break; } - ok(j < len, "Could not find keyboard layout %p in preload list\n", layout); + ok(j < len, "Could not find keyboard layout %s in preload list\n", wine_dbgstr_w(klid)); if (id & 0x80000000) {
participants (1)
-
Alexandre Julliard