- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 30 Aug 2012 13:19:36 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css2
In directory hutz:/tmp/cvs-serv1811/css2
Modified Files:
CssFontFamily.java
Log Message:
proper loop limit
Index: CssFontFamily.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css2/CssFontFamily.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssFontFamily.java 30 Aug 2012 09:10:57 -0000 1.3
+++ CssFontFamily.java 30 Aug 2012 13:19:34 -0000 1.4
@@ -141,7 +141,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:40 UTC