summaryrefslogtreecommitdiff
path: root/base/gxclip.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-10-26 12:14:48 +0100
committerRobin Watts <robin.watts@artifex.com>2016-10-27 14:04:32 +0100
commit71629c04758788b238d6ff3537d9708f430a4db7 (patch)
tree4c5667463f574cc4d29a1677a3bc196208b609e4 /base/gxclip.c
parent0726780b28920045ee6f344a34bc5e8565bc4ed5 (diff)
downloadghostpdl-71629c04758788b238d6ff3537d9708f430a4db7.tar.gz
Tweak to clip device nesting.
Any call through clip_call_fill_path will be safely nested in terms of the clippers used. Reflect this in the initialisation of the local device. This avoids an error given with the next commit.
Diffstat (limited to 'base/gxclip.c')
-rw-r--r--base/gxclip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxclip.c b/base/gxclip.c
index 3279152ba..d98e294b6 100644
--- a/base/gxclip.c
+++ b/base/gxclip.c
@@ -971,7 +971,7 @@ clip_call_fill_path(clip_callback_data_t * pccd, int xc, int yc, int xec, int ye
if (pcpath != NULL) {
gx_path rect_path;
- code = gx_cpath_init_local_shared(&cpath_intersection, pcpath, pccd->ppath->memory);
+ code = gx_cpath_init_local_shared_nested(&cpath_intersection, pcpath, pccd->ppath->memory, 1);
if (code < 0)
return code;
gx_path_init_local(&rect_path, pccd->ppath->memory);