summaryrefslogtreecommitdiff
path: root/psi/psitop.c
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2011-07-19 21:57:35 -0600
committerHenry Stiles <henry.stiles@artifex.com>2011-07-19 21:57:35 -0600
commita46123967e919fdd557411d2b0d177e6be2722e3 (patch)
treeeeea908ad3fa97353182a57934daf9644a1938ed /psi/psitop.c
parenta6ec8697315e39dabd565a1ca114d3b42f006324 (diff)
Fixes 692234 premature erasepage.
The page was being erased before the postscript interpreter was properly initialized. In particular for the crash in this bug a default halftone has to be installed before erasepage.
Diffstat (limited to 'psi/psitop.c')
-rw-r--r--psi/psitop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/psi/psitop.c b/psi/psitop.c
index 41b228e72..31346f91d 100644
--- a/psi/psitop.c
+++ b/psi/psitop.c
@@ -307,8 +307,6 @@ ps_impl_set_device(
return code;
/* Set the device into the gstate */
code = gs_setdevice_no_erase(pgs, device);
- if (code >= 0 )
- code = gs_erasepage(pgs);
if (code < 0)
return code;