From 14f0dd1c64500c1cf12dcb47d14620afa3416d9f Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 20 Sep 2018 12:05:26 +0100 Subject: 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). --- source/fitz/draw-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/draw-device.c') 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"); -- cgit v1.2.3