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 /platform/x11 | |
parent | 6252873329e14ab1b0460bf2a6cecc9eb3044aa1 (diff) | |
download | mupdf-ff162fe493a331151edf11e3b2cf4da62f79b811.tar.xz |
Pass mediabox to pdf_create_page by const pointer, and pass resources.
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index f28f595d..9b0b3e2b 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -255,7 +255,7 @@ static int make_fake_doc(pdfapp_t *app) bounds.x1 = app->winw; bounds.y1 = app->winh; - newpage = pdf_create_page(ctx, pdf, bounds, 0, NULL); + newpage = pdf_create_page(ctx, pdf, &bounds, 0, NULL, NULL); dev = pdf_page_write(ctx, pdf, newpage); |