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-12 17:21:33 +0000 |
commit | aeea342904978c9fe17d85f4906a0f6fcce2d315 (patch) | |
tree | 77c13d29d364b946a200ad10fea74d9302986f86 | |
parent | 2dceb0400c5a571f23070891b8a8028d04926de1 (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 | ||