From 26188aebe58656fb49e34eb8ea96ea389b62ae80 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Sat, 9 Aug 2003 01:41:06 +0000 Subject: [PATCH] Make code clearer. git-svn-id: svn://10.0.0.236/trunk@145784 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/rb/fix-linux-stack.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/tools/rb/fix-linux-stack.pl b/mozilla/tools/rb/fix-linux-stack.pl index 24476257e91..2ae216e9b91 100755 --- a/mozilla/tools/rb/fix-linux-stack.pl +++ b/mozilla/tools/rb/fix-linux-stack.pl @@ -75,8 +75,8 @@ while (<>) { print {$out} "$address\n"; chomp(my $symbol = <$in>); chomp(my $fileandline = <$in>); - ($symbol eq "??") && { $symbol = $badsymbol }; - ($fileandline eq "??:0") && { $fileandline = $file }; + if ($symbol eq "??") { $symbol = $badsymbol; } + if ($fileandline eq "??:0") { $fileandline = $file; } print "$before$symbol ($fileandline)$after\n"; } else { print $line;