summaryrefslogtreecommitdiff
path: root/test/pdfrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pdfrip.c')
-rw-r--r--test/pdfrip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pdfrip.c b/test/pdfrip.c
index a4bce202..b04ccf3e 100644
--- a/test/pdfrip.c
+++ b/test/pdfrip.c
@@ -167,7 +167,7 @@ printf("rendering!\n");
bbox.min.y = bbox.min.y * zoom;
bbox.max.x = bbox.max.x * zoom;
bbox.max.y = bbox.max.y * zoom;
- error = fz_rendertree(&pix, gc, page->tree, ctm, bbox);
+ error = fz_rendertree(&pix, gc, page->tree, ctm, fz_roundrect(bbox));
if (error) fz_abort(error);
printf("done!\n");