W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2008

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

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 19 Aug 2008 13:20:26 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KVR8M-0001fj-KB@lionel-hutz.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:33 UTC