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

2002/css-validator/org/w3c/css/properties/css1 CssFontFamily.java,1.7,1.8

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 30 Aug 2012 13:19:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1T74em-0000UY-8s@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1
In directory hutz:/tmp/cvs-serv1811/css1

Modified Files:
	CssFontFamily.java 
Log Message:
proper loop limit

Index: CssFontFamily.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssFontFamily.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CssFontFamily.java	30 Aug 2012 09:10:57 -0000	1.7
+++ CssFontFamily.java	30 Aug 2012 13:19:34 -0000	1.8
@@ -142,7 +142,7 @@
 					ArrayList<CssIdent> idval = new ArrayList<CssIdent>();
 					idval.add((CssIdent) val);
 					// we add idents if separated by spaces...
-					while (op == SPACE && !expression.end()) {
+					while (op == SPACE && expression.getRemainingCount() > 1) {
 						expression.next();
 						op = expression.getOperator();
 						val = expression.getValue();
Received on Thursday, 30 August 2012 13:19:46 UTC

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