summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2007-05-21 21:29:09 +0000
committerAlbert Astals Cid <aacid@kde.org>2007-05-21 21:29:09 +0000
commitafd11ec66430dae084b5a5560333e933460fc637 (patch)
tree2cc6adac6fd3826a37a4d615520c0dfbabe52a3d /splash
parentf019c8a8efde004e1663ea88cb48c0e46318d936 (diff)
* poppler/Annot.cc: avoid crashing if the font for the drawing methods
can not be found * poppler/Form.cc: fix memory leak * qt4/src/poppler-private.h: fix the UnicodeParsedString function to really work and not crash * splash/SplashTypes.h: RGB8X mode makes max number of components in any SplashColor always be 4
Diffstat (limited to 'splash')
-rw-r--r--splash/SplashTypes.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/splash/SplashTypes.h b/splash/SplashTypes.h
index 32e9ffa1..1dcec38d 100644
--- a/splash/SplashTypes.h
+++ b/splash/SplashTypes.h
@@ -52,11 +52,7 @@ enum SplashColorMode {
extern int splashColorModeNComps[];
// max number of components in any SplashColor
-#if SPLASH_CMYK
-# define splashMaxColorComps 4
-#else
-# define splashMaxColorComps 3
-#endif
+#define splashMaxColorComps 4
typedef Guchar SplashColor[splashMaxColorComps];
typedef Guchar *SplashColorPtr;