summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-09-27 11:19:24 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-10-20 18:22:47 +0200
commitcc6be9c3577168805ec34b2d396e63361012282b (patch)
tree7dc794b08a1a6a786d540516c623cb1eebfb1863 /psi/zupath.c
parentImport Ghostscript 9.54 (diff)
downloadghostscript-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/zupath.c')
-rw-r--r--psi/zupath.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/psi/zupath.c b/psi/zupath.c
index 49f2c45d..fb60443d 100644
--- a/psi/zupath.c
+++ b/psi/zupath.c
@@ -131,7 +131,7 @@ zinustroke(i_ctx_t *i_ctx_p)
if (npop > 1) /* matrix was supplied */
code = gs_concat(igs, &mat);
if (code >= 0) {
- dev_proc(&hdev, set_graphics_type_tag)(&hdev, GS_PATH_TAG); /* so that fills don't unset dev_color */
+ dev_proc(&hdev, set_graphics_type_tag)(&hdev, GS_VECTOR_TAG); /* so that fills don't unset dev_color */
code = gs_stroke(igs);
}
return in_upath_result(i_ctx_p, npop + spop, code);
@@ -150,7 +150,7 @@ in_test(i_ctx_t *i_ctx_p, int (*paintproc)(gs_gstate *))
if (npop < 0)
return npop;
- dev_proc(&hdev, set_graphics_type_tag)(&hdev, GS_PATH_TAG); /* so that fills don't unset dev_color */
+ dev_proc(&hdev, set_graphics_type_tag)(&hdev, GS_VECTOR_TAG); /* so that fills don't unset dev_color */
code = (*paintproc)(igs);
return in_path_result(i_ctx_p, npop, code);
}
@@ -228,7 +228,7 @@ in_path_result(i_ctx_t *i_ctx_p, int npop, int code)
else /* error */
return code;
npop--;
- pop(npop);
+ ref_stack_pop(&o_stack, npop);
op -= npop;
make_bool(op, result);
return 0;
@@ -245,7 +245,7 @@ in_utest(i_ctx_t *i_ctx_p, int (*paintproc)(gs_gstate *))
if (npop < 0)
return npop;
- dev_proc(&hdev, set_graphics_type_tag)(&hdev, GS_PATH_TAG); /* so that fills don't unset dev_color */
+ dev_proc(&hdev, set_graphics_type_tag)(&hdev, GS_VECTOR_TAG); /* so that fills don't unset dev_color */
code = (*paintproc)(igs);
return in_upath_result(i_ctx_p, npop, code);
}