[poppler] poppler/SplashOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Apr 13 12:51:47 PDT 2009


 poppler/SplashOutputDev.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 284a92899602daa4a7f429e61849e794569310b5
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Apr 13 21:51:12 2009 +0200

    Did a mistake in the gmalloc -> gmallocn commit, it's a 4 here not a 3

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);


More information about the poppler mailing list