[gs-commits] mupdf/master - 0_6-253-gbf55a3d - Fix typo by calling newpixmapwithrect instead.
Tor Andersson
tor at ghostscript.com
Tue Aug 3 12:09:49 UTC 2010
commit bf55a3db71cfe32ff90a9176cc93c793fa159b45
Author: Tor Andersson <tor at ghostscript.com>
Date: Mon Aug 2 10:51:36 2010 +0000
Fix typo by calling newpixmapwithrect instead.
Ignore-this: 31f9e978e2b4935fb326cb97b5b6889e
darcs-hash:20100802105136-f546f-d40880e4c3b35c548afd9cbed1aa31b6853bd471.gz
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c
index cf2a2d4..192340d 100644
--- a/apps/pdfdraw.c
+++ b/apps/pdfdraw.c
@@ -149,7 +149,7 @@ static void drawpage(pdf_xref *xref, int pagenum)
/* TODO: banded rendering and multi-page ppm */
- pix = fz_newpixmap(colorspace, bbox.x0, bbox.y0, bbox.x1, bbox.y1);
+ pix = fz_newpixmapwithrect(colorspace, bbox);
if (savealpha)
fz_clearpixmap(pix, 0x00);
--
git/hooks/post-receive
More information about the gs-commits
mailing list