From 93834436d2f1791c824e137afb2a67f783f94ce2 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Sat, 4 Sep 1999 00:42:57 +0000 Subject: [PATCH] Trim some whitespace off the front. git-svn-id: svn://10.0.0.236/trunk@45984 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/tinderbox/showlog.cgi | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mozilla/webtools/tinderbox/showlog.cgi b/mozilla/webtools/tinderbox/showlog.cgi index 47d69303ce8..3ed48f760fc 100755 --- a/mozilla/webtools/tinderbox/showlog.cgi +++ b/mozilla/webtools/tinderbox/showlog.cgi @@ -317,10 +317,7 @@ sub output_log_line { } if ($has_error) { - if ($last_was_error) { - $logline .= " "; - } - else { + unless ($last_was_error) { $logline .= ""; $next_err++; $logline .= "NEXT "; @@ -330,11 +327,10 @@ sub output_log_line { $last_was_error = 1; } elsif ($has_warning) { - $logline .= " "; - $logline .= "$line"; + $logline = "$line"; } else { - $logline .= " $line"; + $logline = $line; $last_was_error = 0; }