summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-src/splash/SplashTypes.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-06-20 05:54:15 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-06-20 05:54:15 +0000
commit72bd55f3b3dac4ee6b26f0fccb82471465eca21d (patch)
tree46225b150ff9d59eda9723435ca3d53d14767c4b /Build/source/libs/poppler/poppler-src/splash/SplashTypes.h
parent2b66ce22aa97a5a4ef8478f2617ea3aef586c7be (diff)
poppler 0.66.0
git-svn-id: svn://tug.org/texlive/trunk@48060 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/splash/SplashTypes.h')
-rw-r--r--Build/source/libs/poppler/poppler-src/splash/SplashTypes.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/libs/poppler/poppler-src/splash/SplashTypes.h b/Build/source/libs/poppler/poppler-src/splash/SplashTypes.h
index ca0e3bc0916..1bede11cd5e 100644
--- a/Build/source/libs/poppler/poppler-src/splash/SplashTypes.h
+++ b/Build/source/libs/poppler/poppler-src/splash/SplashTypes.h
@@ -17,6 +17,7 @@
// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
// Copyright (C) 2010 William Bader <williambader@hotmail.com>
// Copyright (C) 2017 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2018 Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
@@ -126,7 +127,7 @@ static inline void splashClearColor(SplashColorPtr dest) {
dest[2] = 0;
#ifdef SPLASH_CMYK
dest[3] = 0;
- for (int i = SPOT_NCOMPS; i < SPOT_NCOMPS + 4; i++)
+ for (int i = 4; i < SPOT_NCOMPS + 4; i++)
dest[i] = 0;
#endif
}
@@ -137,7 +138,7 @@ static inline void splashColorCopy(SplashColorPtr dest, SplashColorPtr src) {
dest[2] = src[2];
#ifdef SPLASH_CMYK
dest[3] = src[3];
- for (int i = SPOT_NCOMPS; i < SPOT_NCOMPS + 4; i++)
+ for (int i = 4; i < SPOT_NCOMPS + 4; i++)
dest[i] = src[i];
#endif
}
@@ -148,7 +149,7 @@ static inline void splashColorXor(SplashColorPtr dest, SplashColorPtr src) {
dest[2] ^= src[2];
#ifdef SPLASH_CMYK
dest[3] ^= src[3];
- for (int i = SPOT_NCOMPS; i < SPOT_NCOMPS + 4; i++)
+ for (int i = 4; i < SPOT_NCOMPS + 4; i++)
dest[i] ^= src[i];
#endif
}