From 28a0e6c34e956fa0e37521647a61a41d096fbc75 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 2 Aug 2010 10:51:36 +0000 Subject: Fix typo by calling newpixmapwithrect instead. --- apps/pdfdraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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); -- cgit v1.2.3