poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3a54ead84365fe41c07fa9c9f82c1afbb8f9c140 Author: William Bader <will...@newspapersystems.com> Date: Fri Dec 25 01:57:37 2020 +0000 Place the faster colorspace test first in 0cd75023d84baf9d996c0f55da5ea9bd4c2d3b33 diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc index 2ad99a24..3096821c 100644 --- a/poppler/GfxState.cc +++ b/poppler/GfxState.cc @@ -5906,7 +5906,7 @@ void GfxImageColorMap::getDeviceN(const unsigned char *x, GfxColor *deviceN) GfxColor color; int i; - if ((colorSpace->getMapping() == nullptr || colorSpace->getMapping()[0] == -1) && colorSpace2) { + if (colorSpace2 && (colorSpace->getMapping() == nullptr || colorSpace->getMapping()[0] == -1)) { for (i = 0; i < nComps2; ++i) { color.c[i] = lookup2[i][x[0]]; } _______________________________________________ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler