xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vha...@apache.org
Subject cvs commit: xml-batik/sources/org/apache/batik/apps/svgbrowser Main.java
Date Tue, 18 Jun 2002 12:38:02 GMT
vhardy      2002/06/18 05:38:02

  Modified:    sources/org/apache/batik/apps/svgbrowser Main.java
  Log:
  Fixed issue when the number of last visited URIs was 0
  
  Revision  Changes    Path
  1.37      +4 -2      xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/apps/svgbrowser/Main.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- Main.java	18 Jun 2002 12:27:11 -0000	1.36
  +++ Main.java	18 Jun 2002 12:38:02 -0000	1.37
  @@ -801,7 +801,9 @@
               lastVisited.removeElement(uri);
           }
   
  -        lastVisited.addElement(uri);
  +        if (maxVisitedURIs > 0) {
  +            lastVisited.addElement(uri);
  +        }
   
           // Now, save the list of visited URL into the preferences
           StringBuffer lastVisitedBuffer = new StringBuffer();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Mime
View raw message