diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-24 21:04:09 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 15:56:45 +0100 |
commit | ff162fe493a331151edf11e3b2cf4da62f79b811 (patch) | |
tree | 54c3b3b3c2930b54656d045fe39e8dffe677950a /source/tools | |
parent | 6252873329e14ab1b0460bf2a6cecc9eb3044aa1 (diff) | |
download | mupdf-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.c | 2 |
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) { |