[PATCH 2/2] testbot: Fix a copy/paste error in GetTaskMissionDescription().

Francois Gouget fgouget at codeweavers.com
Mon Nov 26 11:13:00 CST 2018


The condition was obviously redundant but at least it did not cause a
bug.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/WineTestBot/Missions.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/lib/WineTestBot/Missions.pm b/testbot/lib/WineTestBot/Missions.pm
index 9761a5a88f..869f699358 100644
--- a/testbot/lib/WineTestBot/Missions.pm
+++ b/testbot/lib/WineTestBot/Missions.pm
@@ -108,7 +108,7 @@ sub GetTaskMissionDescription($)
 
   my $Builds = $TaskMission->{Builds};
   my $Description =
-      ($Builds->{exe64} and ($Builds->{exe32} or $Builds->{exe32})) ? "32 & 64 bit executable" :
+      ($Builds->{exe32} and $Builds->{exe64}) ? "32 & 64 bit executable" :
       $Builds->{exe32} ? "32 bit executable" :
       $Builds->{exe64} ? "64 bit executable" :
       ($Builds->{wow64} and ($Builds->{win32} or $Builds->{wow32})) ? "32 & 64 bit" :
-- 
2.19.1



More information about the wine-devel mailing list