diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2017-09-22 12:36:22 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2017-09-22 12:36:22 +0100 |
commit | 819b79e75d8198d16b13c631d6842953f2c6ab81 (patch) | |
tree | 9c81cd9270822d8f558afd50c601f175e46139aa /Resource/IdiomSet | |
parent | 4a0b2e60e3ed23ec1f7f7e0390ce449bef03b8e4 (diff) | |
download | ghostpdl-819b79e75d8198d16b13c631d6842953f2c6ab81.tar.gz |
Bug 698581: Pscript5Idiom: add missing conditional (and bind)
One of the procedures which Pscript5Idiom "patches" was missing an ifelse
meaning, when that idiom was hit, an unexecuted procedure was left on
the stack.
For efficiency and consistency, also bind the entire procedure.
Diffstat (limited to 'Resource/IdiomSet')
-rw-r--r-- | Resource/IdiomSet/Pscript5Idiom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Resource/IdiomSet/Pscript5Idiom b/Resource/IdiomSet/Pscript5Idiom index e22a946e5..021603f33 100644 --- a/Resource/IdiomSet/Pscript5Idiom +++ b/Resource/IdiomSet/Pscript5Idiom @@ -137,8 +137,8 @@ currentuserparams /IdiomRecognition get /Decode[0 1]def}{/Decode[0 1 0 1 0 1 0 1]def}ifelse}ifelse/DataSource{PaintData}def end/ImageDict exch def/PaintProc{begin ImageDict image end}b currentdict mx makepattern setpattern end fEOFill{eofill}{fill} ifelse grestore - } - } + } ifelse + }bind ] /mask_pbf [ |