Francois Gouget : testbot/SetWinLocale: Copy the locales again after a revert.
Alexandre Julliard
julliard at winehq.org
Mon May 2 15:19:07 CDT 2022
Module: tools
Branch: master
Commit: 0c6de95d716da310ffceea197a8fbda78e2eeace
URL: https://source.winehq.org/git/tools.git/?a=commit;h=0c6de95d716da310ffceea197a8fbda78e2eeace
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon May 2 19:22:42 2022 +0200
testbot/SetWinLocale: Copy the locales again after a revert.
Most of the time the system and default user account locales are not
impacted when the current account's --locale and --country locales are
reverted after a reboot. But for some locales they are reverted too so
that SetWinLocale needs to set them again.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/bin/SetWinLocale | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale
index e41af20..0752df5 100755
--- a/testbot/bin/SetWinLocale
+++ b/testbot/bin/SetWinLocale
@@ -946,7 +946,7 @@ if ($OptReboot)
if ($Reverted)
{
Warning("$Expected got reverted to $Reverted. Setting them again but this will not stick across reboots\n");
- SetWinLocales(undef, undef, $OptLocale, $CountryId, undef, undef, undef, undef);
+ SetWinLocales($OptSysCopy, $OptDefCopy, $OptLocale, $CountryId, undef, undef, undef, undef);
last;
}
sleep(2);
More information about the wine-cvs
mailing list