diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-03-03 10:37:16 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-03-03 13:36:08 +0000 |
commit | 94be8c14405e7d9edd1712fba78d262edf48f9d8 (patch) | |
tree | 4813c825d8e99501d109e312b5ea24f21bd9847e /pdf/pdf_colour.c | |
parent | f27a63c61ce5e2d223eb48dc67f3dbca5ada12a4 (diff) | |
download | ghostpdl-94be8c14405e7d9edd1712fba78d262edf48f9d8.tar.gz |
Eliminate pdf_overprint_control_t in favour of gs_overprint_control_t
Fixes compiler warning comparing different enum types.
Diffstat (limited to 'pdf/pdf_colour.c')
-rw-r--r-- | pdf/pdf_colour.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_colour.c b/pdf/pdf_colour.c index 5446e6eb0..9ba97a5aa 100644 --- a/pdf/pdf_colour.c +++ b/pdf/pdf_colour.c @@ -2673,7 +2673,7 @@ static int pdfi_device_setoutputintent(pdf_context *ctx, pdf_dict *profile_dict, and doing a rendering to the output intent color space. Keep the device profile as is, and do not do a proofing profile */ - if (!(ctx->pgs->device->icc_struct->overprint_control == PDF_OVERPRINT_SIMULATE && + if (!(ctx->pgs->device->icc_struct->overprint_control == gs_overprint_control_simulate && !gsicc_profiles_equal(dev_profile->oi_profile, dev_profile->device_profile[GS_DEFAULT_DEVICE_PROFILE]))) { if (ncomps == dev_comps && index < gs_color_space_index_DevicePixel) { /* The OI profile is the same type as the profile for the device and a |