diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-09-27 11:19:24 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-10-20 18:22:47 +0200 |
commit | cc6be9c3577168805ec34b2d396e63361012282b (patch) | |
tree | 7dc794b08a1a6a786d540516c623cb1eebfb1863 /psi/zdevice.c | |
parent | Import Ghostscript 9.54 (diff) | |
download | ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.tar.gz ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.tar.bz2 ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.zip |
Import Ghostscript 9.55ghostscript-9.55
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'psi/zdevice.c')
-rw-r--r-- | psi/zdevice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/psi/zdevice.c b/psi/zdevice.c index a9d4e8a1..b119a768 100644 --- a/psi/zdevice.c +++ b/psi/zdevice.c @@ -222,7 +222,7 @@ zgetbitsrect(i_ctx_t *i_ctx_p) rect.q.y = rect.p.y + h; params.options = options; params.data[0] = op->value.bytes; - code = (*dev_proc(dev, get_bits_rectangle))(dev, &rect, ¶ms, NULL); + code = (*dev_proc(dev, get_bits_rectangle))(dev, &rect, ¶ms); if (code < 0) return code; make_int(op - 7, h); @@ -289,7 +289,7 @@ zget_device_params(i_ctx_t *i_ctx_p, bool is_hardware) if (op[-1].value.pdevice == NULL) /* This can happen if we invalidated devices on the stack by calling nulldevice after they were pushed */ return_error(gs_error_undefined); - pop(1); + ref_stack_pop(&o_stack, 1); stack_param_list_write(&list, &o_stack, &rkeys, iimemory); code = gs_get_device_or_hardware_params(dev, (gs_param_list *) & list, is_hardware); @@ -628,7 +628,7 @@ zspec_op(i_ctx_t *i_ctx_p) if (proc < 0) return_error(gs_error_undefined); - pop(1); /* We don't need the name of the spec_op any more */ + ref_stack_pop(&o_stack, 1); /* We don't need the name of the spec_op any more */ op = osp; switch(proc) { |