summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gs/Resource/Init/pdf_base.ps2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/Resource/Init/pdf_base.ps b/gs/Resource/Init/pdf_base.ps
index 64dc4625e..dbd468b21 100644
--- a/gs/Resource/Init/pdf_base.ps
+++ b/gs/Resource/Init/pdf_base.ps
@@ -973,7 +973,7 @@ currentdict /pdf_rules_dict undef
{ filtername add_A85_param filter }
} {
{ % Stack: parms source filtername
- 2 index 0 oget dup //null eq { pop } {
+ 2 index 0 oget dup type /dicttype ne { pop } {
exch filtername dup /JBIG2Decode eq { exch jbig2cachectx exch } if
} ifelse add_A85_param filter
exch dup length 1 sub 1 exch getinterval exch