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/tools/mudraw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tools') diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c index 6ca08d01..ba259e49 100644 --- a/source/tools/mudraw.c +++ b/source/tools/mudraw.c @@ -262,7 +262,7 @@ static int lowmemory = 0; static int errored = 0; static fz_colorspace *colorspace; static fz_colorspace *oi = NULL; -#ifdef FZ_ENABLE_SPOT_RENDERING +#if FZ_ENABLE_SPOT_RENDERING static int spots = SPOTS_OVERPRINT_SIM; #else static int spots = SPOTS_NONE; @@ -363,7 +363,7 @@ static void usage(void) #endif "\t-N\tdisable ICC workflow (\"N\"o color management)\n" "\t-O -\tControl spot/overprint rendering\n" -#ifdef FZ_ENABLE_SPOT_RENDERING +#if FZ_ENABLE_SPOT_RENDERING "\t\t 0 = No spot rendering\n" "\t\t 1 = Overprint simulation (default)\n" "\t\t 2 = Full spot rendering\n" -- cgit v1.2.3