summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-08-18 12:40:51 +0200
committerAlbert Astals Cid <aacid@kde.org>2011-08-18 12:40:51 +0200
commit56248b84e2185483dd54704c13838e8f78029d49 (patch)
tree89cb7735ace724125101ae477e6128247f9ba418 /utils
parenta1093aae9f64cb6768164551d50cafaef52876c1 (diff)
Only declare overprint if we are going to use it
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftoppm.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/pdftoppm.cc b/utils/pdftoppm.cc
index 09233771..5c4c4a78 100644
--- a/utils/pdftoppm.cc
+++ b/utils/pdftoppm.cc
@@ -18,7 +18,7 @@
// Copyright (C) 2009 Michael K. Johnson <a1237@danlj.org>
// Copyright (C) 2009 Shen Liang <shenzhuxi@gmail.com>
// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
-// Copyright (C) 2009, 2010 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2009-2011 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2010 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2010 Jonathan Liu <net147@gmail.com>
@@ -74,7 +74,9 @@ static GBool png = gFalse;
static GBool jpeg = gFalse;
static GBool jpegcmyk = gFalse;
static GBool tiff = gFalse;
+#if SPLASH_CMYK
static GBool overprint = gFalse;
+#endif
static char enableFreeTypeStr[16] = "";
static char antialiasStr[16] = "";
static char vectorAntialiasStr[16] = "";