summaryrefslogtreecommitdiff
path: root/Resource/Init/gs_statd.ps
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2021-05-04 10:29:19 -0700
committerRay Johnston <ray.johnston@artifex.com>2021-05-04 10:33:30 -0700
commit00f554cfaf1f973edf0404a3a0bfe64a1c63f631 (patch)
tree5ca37667880cbc0173adadbdcbc41ef9ff2307bf /Resource/Init/gs_statd.ps
parent032cb22e6d63e2e81b86ae6ba1cbd04d7798bae7 (diff)
downloadghostpdl-00f554cfaf1f973edf0404a3a0bfe64a1c63f631.tar.gz
Fix bug 703237: signalerror had wrong pararmeter types.
Thanks to Peter Cherepanov for this bug report and the patch. The only differences seen are with the PostScript CET 13-06.PS and 13-07.PS.
Diffstat (limited to 'Resource/Init/gs_statd.ps')
-rw-r--r--Resource/Init/gs_statd.ps4
1 files changed, 2 insertions, 2 deletions
diff --git a/Resource/Init/gs_statd.ps b/Resource/Init/gs_statd.ps
index 8f01c78c4..6751c0329 100644
--- a/Resource/Init/gs_statd.ps
+++ b/Resource/Init/gs_statd.ps
@@ -269,10 +269,10 @@ readonly def
% (a Level 1 operator) as accepting the values 0 and 1,
% so we do too.
dup type /integertype ne {
- /setpage /typecheck signalerror
+ /setpage cvx /typecheck signalerror
} {
dup 0 ne 1 index 1 ne or {
- /setpage /rangecheck signalerror
+ /setpage cvx /rangecheck signalerror
} {
{/letter /note} 1 index get
//systemdict /userdict get exch get cvx exec