summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2009-04-13 19:51:12 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2009-04-13 19:51:12 (GMT)
commit284a92899602daa4a7f429e61849e794569310b5 (patch)
tree72cc2a5f1a6342dca09d4fee061fca185c22bb4f
parent9cf2325fb22f812b31858e519411f57747d39bd8 (diff)
Did a mistake in the gmalloc -> gmallocn commit, it's a 4 here not a 3
-rw-r--r--poppler/SplashOutputDev.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 1efe1f3..dc4661a 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -2023,7 +2023,7 @@ void SplashOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
}
break;
case splashModeXBGR8:
- imgData.lookup = (SplashColorPtr)gmallocn(n, 3);
+ imgData.lookup = (SplashColorPtr)gmallocn(n, 4);
for (i = 0; i < n; ++i) {
pix = (Guchar)i;
colorMap->getRGB(&pix, &rgb);