You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@locus.apache.org on 2000/07/11 03:06:30 UTC
cvs commit: xml-fop/src/org/apache/fop/pdf PDFDocument.java
keiron 00/07/10 18:06:30
Modified: src/org/apache/fop/pdf PDFDocument.java
Log:
creates a function for each pair of colours, rather than missing the last one
Revision Changes Path
1.13 +3 -3 xml-fop/src/org/apache/fop/pdf/PDFDocument.java
Index: PDFDocument.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/PDFDocument.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- PDFDocument.java 2000/06/21 01:40:56 1.12
+++ PDFDocument.java 2000/07/11 01:06:29 1.13
@@ -1,4 +1,4 @@
-/*-- $Id: PDFDocument.java,v 1.12 2000/06/21 01:40:56 jordan Exp $ --
+/*-- $Id: PDFDocument.java,v 1.13 2000/07/11 01:06:29 keiron Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -638,7 +638,7 @@
Vector theFunctions = new Vector();
int currentPosition;
- int lastPosition = theColors.size()-2;
+ int lastPosition = theColors.size()-1;
//if 5 elements, the penultimate element is 3.
@@ -982,4 +982,4 @@
public void setIDReferences(IDReferences idReferences){
this.idReferences= idReferences;
}
-}
\ No newline at end of file
+}