diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-08-02 10:51:36 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-08-02 10:51:36 +0000 |
commit | 28a0e6c34e956fa0e37521647a61a41d096fbc75 (patch) | |
tree | fcf7af901381849ec824b8eeb0bdff7eeeaa5f21 /apps | |
parent | 8a83148bf7c701049a5692ef48c61b6022d4c6b0 (diff) | |
download | mupdf-28a0e6c34e956fa0e37521647a61a41d096fbc75.tar.xz |
Fix typo by calling newpixmapwithrect instead.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfdraw.c | 2 |
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); |