summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-24 21:04:09 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-29 15:56:45 +0100
commitff162fe493a331151edf11e3b2cf4da62f79b811 (patch)
tree54c3b3b3c2930b54656d045fe39e8dffe677950a /source/tools
parent6252873329e14ab1b0460bf2a6cecc9eb3044aa1 (diff)
downloadmupdf-ff162fe493a331151edf11e3b2cf4da62f79b811.tar.xz
Pass mediabox to pdf_create_page by const pointer, and pass resources.
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/mudraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index aecc6368..62e587e8 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -387,7 +387,7 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum)
tbounds = bounds;
fz_transform_rect(&tbounds, &ctm);
- newpage = pdf_create_page(ctx, pdfout, bounds, 0, NULL);
+ newpage = pdf_create_page(ctx, pdfout, &bounds, 0, NULL, NULL);
fz_try(ctx)
{