diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-09-26 18:10:06 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-10-24 15:16:37 +0100 |
commit | 23f3e2a2495bc3889cd7da1e6537f674846add80 (patch) | |
tree | 5e3069e903a75306a9508fb8cc892e57df936de0 /source | |
parent | 796f4da5a66c7bb1df4b4746113fdf3d96a740e5 (diff) | |
download | mupdf-23f3e2a2495bc3889cd7da1e6537f674846add80.tar.xz |
When cloning separations, clone cs_pos too.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/separation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/separation.c b/source/fitz/separation.c index f4f5e262..4040e97a 100644 --- a/source/fitz/separation.c +++ b/source/fitz/separation.c @@ -229,6 +229,7 @@ fz_separations *fz_clone_separations_for_overprint(fz_context *ctx, fz_separatio fz_set_separation_behavior(ctx, clone, j, beh); clone->name[j] = sep->name[i] ? fz_strdup(ctx, sep->name[i]) : NULL; clone->cs[j] = fz_keep_colorspace(ctx, sep->cs[i]); + clone->cs_pos[j] = sep->cs_pos[i]; } } fz_catch(ctx) |