validator/httpd/cgi-bin check,1.597,1.598

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

Modified Files:
	check 
Log Message:
shifting column locator by one to match validator.nu and onsgmls output

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.597
retrieving revision 1.598
diff -u -d -r1.597 -r1.598
--- check	18 Aug 2008 14:32:32 -0000	1.597
+++ check	19 Aug 2008 13:20:24 -0000	1.598
@@ -889,7 +889,7 @@
             
           }
           if($attribute->name eq "last-column") {
-            $html5_error_col = $attribute->getValue();                
+            $html5_error_col = $attribute->getValue()-1;                
           } 
           if($attribute->name eq "last-line") {
             $html5_error_line = $attribute->getValue();                

Received on Tuesday, 19 August 2008 13:21:01 UTC