validator/httpd/cgi-bin check,1.703,1.704

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv2299

Modified Files:
	check 
Log Message:
Avoid adding an ellipsis when a line (for a message without a column number) was not truncated.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.703
retrieving revision 1.704
diff -u -d -r1.703 -r1.704
--- check	23 Sep 2009 21:13:04 -0000	1.703
+++ check	23 Sep 2009 21:27:32 -0000	1.704
@@ -2087,7 +2087,7 @@
             $col = length($File->{Content}->[$err->{line}-1]);
             $col = 80 if ($col > 80);
             ($line, $col) = &truncate_line($File->{Content}->[$err->{line}-1], $col);
-            $line = &ent($line) . "…";
+            $line = &ent($line);
             $col = 0;
           }
       }

Received on Wednesday, 23 September 2009 21:27:46 UTC