pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1612368 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/operator/GRestore.java
Date Mon, 21 Jul 2014 18:17:16 GMT
Author: tilman
Date: Mon Jul 21 18:17:16 2014
New Revision: 1612368

URL: http://svn.apache.org/r1612368
Log:
PDFBOX-2214: revert last commit, didn't work

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/operator/GRestore.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/operator/GRestore.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/operator/GRestore.java?rev=1612368&r1=1612367&r2=1612368&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/operator/GRestore.java
(original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/operator/GRestore.java
Mon Jul 21 18:17:16 2014
@@ -43,7 +43,7 @@ public class GRestore extends OperatorPr
      */
     public void process(PDFOperator operator, List<COSBase> arguments)
     {
-        if (context.getGraphicsStack().size() > 1)
+        if (context.getGraphicsStack().size() > 0)
         {
             context.setGraphicsState((PDGraphicsState) context.getGraphicsStack().pop());
         }



Mime
View raw message