diff options
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r-- | source/fitz/draw-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 7a47e707..d8f5c911 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -342,7 +342,7 @@ colors_supported(fz_context *ctx, fz_colorspace *cs, fz_pixmap *dest) /* If our destination is CMYK and the source color space is only C, M, Y or K we support it * even if we have no seps */ - if (fz_colorspace_is_subtractive(ctx, dest->colorspace) && fz_colorspace_device_n_info(ctx, cs) == FZ_DEVICE_N_CMYK_ONLY) + if (fz_colorspace_is_subtractive(ctx, dest->colorspace) && fz_colorspace_device_n_has_only_cmyk(ctx, cs)) return 1; return 0; |