Author: toad
Date: 2006-10-06 17:13:57 +0000 (Fri, 06 Oct 2006)
New Revision: 10637

Modified:
   trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.java
   trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.jflex
Log:
Maybe fix CSS bug.

Modified: trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.java       
2006-10-06 17:12:27 UTC (rev 10636)
+++ trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.java       
2006-10-06 17:13:57 UTC (rev 10637)
@@ -1,4 +1,4 @@
-/* The following code was generated by JFlex 1.4.1 on 03/10/06 12:01 */
+/* The following code was generated by JFlex 1.4.1 on 06/10/06 17:51 */

 /* This code is part of Freenet. It is distributed under the GNU General
  * Public License, version 2 (or at your option any later version). See
@@ -14,7 +14,7 @@
 /**
  * This class is a scanner generated by 
  * <a href="http://www.jflex.de/";>JFlex</a> 1.4.1
- * on 03/10/06 12:01 from the specification file
+ * on 06/10/06 17:51 from the specification file
  * <tt>freenet/clients/http/filter/CSSTokenizerFilter.jflex</tt>
  */
 class CSSTokenizerFilter {
@@ -975,7 +975,7 @@
                        data = buffer.toString();
                        if(url && s.length() > x && s.charAt(x) == ')')
                                x++;
-                       if(x < (s.length()-1))
+                       if(x < (s.length()))
                                suffix = s.substring(x);
                        else
                                suffix = "";

Modified: trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.jflex
===================================================================
--- trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.jflex      
2006-10-06 17:12:27 UTC (rev 10636)
+++ trunk/freenet/src/freenet/clients/http/filter/CSSTokenizerFilter.jflex      
2006-10-06 17:13:57 UTC (rev 10637)
@@ -164,7 +164,7 @@
                        data = buffer.toString();
                        if(url && s.length() > x && s.charAt(x) == ')')
                                x++;
-                       if(x < (s.length()-1))
+                       if(x < (s.length()))
                                suffix = s.substring(x);
                        else
                                suffix = "";


Reply via email to