diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2018-11-12 17:21:33 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2018-11-14 10:29:05 +0000 |
commit | 3005fcb9bb160af199e761e03bc70a9f249a987e (patch) | |
tree | c7d544d9e6d0a5526b4416ebe9a971617add3e18 | |
parent | 2f99c138cf60d75621eb03ae924453b968274694 (diff) |
Bug 700153: restore: always check available stack
Previously, we were checking there was enough stack space available when the
restore operation required a device change, but since we have to use
Postscript to reset the userparams (ick!), we need the stack check even when
not changing the device.
-rw-r--r-- | psi/zdevice2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psi/zdevice2.c b/psi/zdevice2.c index 159a0c0d9..e11b07500 100644 --- a/psi/zdevice2.c +++ b/psi/zdevice2.c | |||
@@ -277,7 +277,7 @@ restore_page_device(i_ctx_t *i_ctx_p, const gs_gstate * pgs_old, const gs_gstate | |||
277 | samepagedevice = false; | 277 | samepagedevice = false; |
278 | } | 278 | } |
279 | 279 | ||
280 | if (LockSafetyParams && !samepagedevice) { | 280 | if (LockSafetyParams) { |
281 | const int required_ops = 512; | 281 | const int required_ops = 512; |
282 | const int required_es = 32; | 282 | const int required_es = 32; |
283 | 283 | ||