summaryrefslogtreecommitdiff
path: root/source/html/html-doc.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-06-29 16:46:17 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-07-05 15:32:34 +0200
commitea7403b4c172338dfe7f371302f82859921e60af (patch)
tree4a3fbf8ea35cb53fcbf395f096cf61ffda7b40be /source/html/html-doc.c
parent4a99615a609eec2b84bb2341d74fac46a5998137 (diff)
downloadmupdf-ea7403b4c172338dfe7f371302f82859921e60af.tar.xz
Pass matrices by value: device and document interface.
Diffstat (limited to 'source/html/html-doc.c')
-rw-r--r--source/html/html-doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/html/html-doc.c b/source/html/html-doc.c
index 45fbd8f9..21c9c653 100644
--- a/source/html/html-doc.c
+++ b/source/html/html-doc.c
@@ -88,11 +88,11 @@ htdoc_bound_page(fz_context *ctx, fz_page *page_)
}
static void
-htdoc_run_page(fz_context *ctx, fz_page *page_, fz_device *dev, const fz_matrix *ctm, fz_cookie *cookie)
+htdoc_run_page(fz_context *ctx, fz_page *page_, fz_device *dev, fz_matrix ctm, fz_cookie *cookie)
{
html_page *page = (html_page*)page_;
html_document *doc = page->doc;
- fz_draw_html(ctx, dev, *ctm, doc->html, page->number);
+ fz_draw_html(ctx, dev, ctm, doc->html, page->number);
}
static fz_link *