diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2017-03-21 15:53:01 -0400 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2017-03-22 18:29:42 -0400 |
commit | 546e1fce1b1556f56860a46f326094b997a3237c (patch) | |
tree | 1bdf70ae60a0a84daa1a6e37e3cc04d612e38b49 /source/cbz/muimg.c | |
parent | ad65190db33e7024b71cd21a6ea1483940f0bf92 (diff) | |
download | mupdf-546e1fce1b1556f56860a46f326094b997a3237c.tar.xz |
Update fz_new_page.
Move this into the same style as fz_new_document and
fz_new_image.
Diffstat (limited to 'source/cbz/muimg.c')
-rw-r--r-- | source/cbz/muimg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c index a02731c6..f985d460 100644 --- a/source/cbz/muimg.c +++ b/source/cbz/muimg.c @@ -69,7 +69,7 @@ img_load_page(fz_context *ctx, img_document *doc, int number) if (number != 0) return NULL; - page = fz_new_page(ctx, sizeof *page); + page = fz_new_page(ctx, img_page); page->super.bound_page = (fz_page_bound_page_fn *)img_bound_page; page->super.run_page_contents = (fz_page_run_page_contents_fn *)img_run_page; |