From: Takashi Sawanaka Date: Sun, 29 Dec 2019 10:51:25 +0000 (+0900) Subject: GUITestUtils.cpp: do not test all languages when command line arguments are empty X-Git-Tag: 2.16.4+-jp-10~1^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6079a2b7428d06d0345605f98d5426c4b647d80e;p=winmerge-jp%2Fwinmerge-jp.git GUITestUtils.cpp: do not test all languages when command line arguments are empty --- diff --git a/Testing/GoogleTest/GUITests/GUITestUtils.cpp b/Testing/GoogleTest/GUITests/GUITestUtils.cpp index 1a33f2e80..e30ea6983 100644 --- a/Testing/GoogleTest/GUITests/GUITestUtils.cpp +++ b/Testing/GoogleTest/GUITests/GUITestUtils.cpp @@ -153,7 +153,7 @@ HWND execWinMerge(const std::string& args) const std::set languages() { - if (wcsstr(GetCommandLineW(), L"--english-only") != nullptr) + if (wcsstr(GetCommandLineW(), L"--all-languages") == nullptr) return { MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US) }; return { MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),