From ff162fe493a331151edf11e3b2cf4da62f79b811 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 Feb 2016 21:04:09 +0100 Subject: Pass mediabox to pdf_create_page by const pointer, and pass resources. --- platform/x11/pdfapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform') 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); -- cgit v1.2.3