summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-08-02 10:51:36 +0000
committerTor Andersson <tor@ghostscript.com>2010-08-02 10:51:36 +0000
commit28a0e6c34e956fa0e37521647a61a41d096fbc75 (patch)
treefcf7af901381849ec824b8eeb0bdff7eeeaa5f21 /apps
parent8a83148bf7c701049a5692ef48c61b6022d4c6b0 (diff)
downloadmupdf-28a0e6c34e956fa0e37521647a61a41d096fbc75.tar.xz
Fix typo by calling newpixmapwithrect instead.
Diffstat (limited to 'apps')
-rw-r--r--apps/pdfdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c
index cf2a2d45..192340d3 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);