diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-28 12:42:31 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-10-24 15:16:35 +0100 |
commit | 89b91112b810a6b29396b8f4e91c8bde92969e0e (patch) | |
tree | fa5f07182062fad454e0696f5daa608dd0ba8920 /source/fitz/draw-device.c | |
parent | fee66b72d296ecdd9654109c31e9dbfa4811d034 (diff) | |
download | mupdf-89b91112b810a6b29396b8f4e91c8bde92969e0e.tar.xz |
Change colorspace 'device_n' field to be a flags word.
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; |