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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-07-16 16:00:40 +02:00 committed by Alexandre Julliard
parent 1e627d1187
commit 623f9569fd

View file

@ -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)
{