summaryrefslogtreecommitdiff
path: root/source/tools/mudraw.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2018-09-20 12:05:26 +0100
committerRobin Watts <robin.watts@artifex.com>2018-09-20 12:24:17 +0100
commit14f0dd1c64500c1cf12dcb47d14620afa3416d9f (patch)
treeeec9685f2a91259e71bb4f1da1236af301b72663 /source/tools/mudraw.c
parent94d6166428a679baa5a34fc5faa18a2aa26cee4a (diff)
downloadmupdf-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/tools/mudraw.c')
-rw-r--r--source/tools/mudraw.c4
1 files changed, 2 insertions, 2 deletions
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"