From 632871f47d06f93867aa2e901adb1a28dc4735e3 Mon Sep 17 00:00:00 2001 From: "kestes%walrus.com" Date: Sun, 13 Apr 2003 14:15:01 +0000 Subject: [PATCH] fix incorrect operator, wanted string comparison (eq) not numeric equality (==) --- .../src/lib/TinderHeader/TreeState_Bonsai_Plus.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webtools/tinderbox2/src/lib/TinderHeader/TreeState_Bonsai_Plus.pm b/webtools/tinderbox2/src/lib/TinderHeader/TreeState_Bonsai_Plus.pm index 07cfa3b5b8ce..385be6f817dc 100644 --- a/webtools/tinderbox2/src/lib/TinderHeader/TreeState_Bonsai_Plus.pm +++ b/webtools/tinderbox2/src/lib/TinderHeader/TreeState_Bonsai_Plus.pm @@ -7,8 +7,8 @@ # display these states and can also set the states which are not the # Bonsai States. -# $Revision: 1.6 $ -# $Date: 2002/05/09 18:15:57 $ +# $Revision: 1.7 $ +# $Date: 2003/04/13 14:15:01 $ # $Author: kestes%walrus.com $ # $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/TinderHeader/TreeState_Bonsai_Plus.pm,v $ # $Name: $ @@ -52,7 +52,7 @@ use BonsaiData; @ISA = qw(TinderHeader::BasicTxtHeader); -$VERSION = ( qw $Revision: 1.6 $ )[1]; +$VERSION = ( qw $Revision: 1.7 $ )[1]; # load the simple name of this module into TinderHeader so we can # track the implementations provided. @@ -102,7 +102,7 @@ sub gettree_header { if ( ($text_treestate) && - ($text_treestate != 'Current_Bonsai_State') + ($text_treestate ne 'Current_Bonsai_State') ) { $treestate = $text_treestate; } else {