From: Francois Gouget fgouget@codeweavers.com
It is important for the input tests so add it to the global locale information. --- Another option would be to trace it in the relevant tests, either with a trace() when they start, or with a winetest_set_context() so it's printed in case of failures. But we already have a centralized location where we collect all the locale information so we don't have to do so in multiple tests so I think it makes sense to just add it there. --- programs/winetest/main.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 18fa25db101..a939034e8b9 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -583,6 +583,7 @@ static void print_language(void) xprintf (" UserDefaultUILanguage=%04x\n", pGetUserDefaultUILanguage()); if (pGetThreadUILanguage) xprintf (" ThreadUILanguage=%04x\n", pGetThreadUILanguage()); + xprintf (" KeyboardLayout=%p\n", GetKeyboardLayout(0)); xprintf (" Country=%d\n", GetUserGeoID(GEOCLASS_NATION)); xprintf (" ACP=%d\n", GetACP()); }