pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1788052 - /pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSIndexed.java
Date Wed, 22 Mar 2017 06:30:35 GMT
Author: tilman
Date: Wed Mar 22 06:30:35 2017
New Revision: 1788052

URL: http://svn.apache.org/viewvc?rev=1788052&view=rev
Log:
PDFBOX-3727: correct color count

Modified:
    pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSIndexed.java

Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSIndexed.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSIndexed.java?rev=1788052&r1=1788051&r2=1788052&view=diff
==============================================================================
--- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSIndexed.java
(original)
+++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSIndexed.java
Wed Mar 22 06:30:35 2017
@@ -55,7 +55,7 @@ public class CSIndexed
         try
         {
             indexed = new PDIndexed(array);
-            colorCount = getHival(array);
+            colorCount = getHival(array) + 1;
             initUI(getColorantData());
         }
         catch (IOException e)



Mime
View raw message