diff options
author | Robin Watts <robin.watts@artifex.com> | 2018-09-20 12:05:26 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2018-09-20 12:24:17 +0100 |
commit | 14f0dd1c64500c1cf12dcb47d14620afa3416d9f (patch) | |
tree | eec9685f2a91259e71bb4f1da1236af301b72663 /source/fitz/draw-device.c | |
parent | 94d6166428a679baa5a34fc5faa18a2aa26cee4a (diff) | |
download | mupdf-14f0dd1c64500c1cf12dcb47d14620afa3416d9f.tar.xz |
Be consistent in use of #if FZ_ENABLE_...
Using #ifdef FZ_ENABLE_ means we build code in, even if we have
defined FZ_ENABLE_WHATEVER to be 0 (as we do in config.h).
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 92c9e5cd..4f3abd5b 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -3059,7 +3059,7 @@ new_draw_device(fz_context *ctx, fz_matrix transform, fz_pixmap *dest, const fz_ * to trigger on later. */ if (dest->seps || dev->proof_cs != NULL) -#ifdef FZ_ENABLE_SPOT_RENDERING +#if FZ_ENABLE_SPOT_RENDERING dev->resolve_spots = 1; #else fz_throw(ctx, FZ_ERROR_GENERIC, "Spot rendering (and overprint/overprint simulation) not available in this build"); |