Module: wine Branch: master Commit: bf42dca35f05bce9996e91f59cc47b5a9e6996b2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=bf42dca35f05bce9996e91f59...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Feb 18 15:19:55 2022 +0100
winetest: Also trace the country and ANSI code page.
Tracing the ANSI code page is useful to identify tests run in Windows' UTF-8 mode.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/winetest/main.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/programs/winetest/main.c b/programs/winetest/main.c index b5c3cc54487..eb86770afbf 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -477,6 +477,8 @@ static void print_language(void) xprintf (" UserDefaultUILanguage=%04x\n", pGetUserDefaultUILanguage()); if (pGetThreadUILanguage) xprintf (" ThreadUILanguage=%04x\n", pGetThreadUILanguage()); + xprintf (" Country=%d\n", GetUserGeoID(GEOCLASS_NATION)); + xprintf (" ACP=%d\n", GetACP()); }
static inline BOOL is_dot_dir(const char* x)