diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-06-29 17:26:27 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-07-05 15:32:34 +0200 |
commit | f40106ac6b7367292432ee7af61608548d490e8c (patch) | |
tree | 3b20165e215e76e3cca40e370e73482d9efdc8fc /source/fitz/output-pclm.c | |
parent | ea7403b4c172338dfe7f371302f82859921e60af (diff) | |
download | mupdf-f40106ac6b7367292432ee7af61608548d490e8c.tar.xz |
Pass rects by value: device and document interface.
Diffstat (limited to 'source/fitz/output-pclm.c')
-rw-r--r-- | source/fitz/output-pclm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/output-pclm.c b/source/fitz/output-pclm.c index f3aa2ec2..8d1e11c6 100644 --- a/source/fitz/output-pclm.c +++ b/source/fitz/output-pclm.c @@ -324,7 +324,7 @@ struct fz_pclm_writer_s }; static fz_device * -pclm_begin_page(fz_context *ctx, fz_document_writer *wri_, const fz_rect *mediabox) +pclm_begin_page(fz_context *ctx, fz_document_writer *wri_, fz_rect mediabox) { fz_pclm_writer *wri = (fz_pclm_writer*)wri_; return fz_new_draw_device_with_options(ctx, &wri->draw, mediabox, &wri->pixmap); |