Francois Gouget : testbot/SetWinLocale: Fix setting the VM description.

Alexandre Julliard julliard at winehq.org
Thu Mar 14 11:41:37 CDT 2019


Module: tools
Branch: master
Commit: 2ded1320e329d9f5ab9824710a8fb51495035b72
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=2ded1320e329d9f5ab9824710a8fb51495035b72

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Mar 14 12:02:00 2019 +0100

testbot/SetWinLocale: Fix setting the VM description.

There is no $Suffix variable.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/scripts/SetWinLocale | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/scripts/SetWinLocale b/testbot/scripts/SetWinLocale
index e9d024f..5ca0507 100755
--- a/testbot/scripts/SetWinLocale
+++ b/testbot/scripts/SetWinLocale
@@ -649,7 +649,7 @@ if ($OptRefresh)
     $VM->IdleSnapshot($BaseVM->IdleSnapshot ."_$VMLocale");
     $VM->Hostname($BaseVM->Hostname);
 
-    my $Description = $BaseVM->Description ." ". LocaleName($Suffix);
+    my $Description = $BaseVM->Description ." ". LocaleName($VMLocale);
     my $PropertyDescriptor = $VMs->GetPropertyDescriptorByName("Description");
     if ($PropertyDescriptor->GetMaxLength() < length($Description))
     {




More information about the wine-cvs mailing list