summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2017-03-21 15:53:01 -0400
committerRobin Watts <Robin.Watts@artifex.com>2017-03-22 18:29:42 -0400
commit546e1fce1b1556f56860a46f326094b997a3237c (patch)
tree1bdf70ae60a0a84daa1a6e37e3cc04d612e38b49 /source/svg
parentad65190db33e7024b71cd21a6ea1483940f0bf92 (diff)
downloadmupdf-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/svg')
-rw-r--r--source/svg/svg-doc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/svg/svg-doc.c b/source/svg/svg-doc.c
index bfd40065..b535b380 100644
--- a/source/svg/svg-doc.c
+++ b/source/svg/svg-doc.c
@@ -61,7 +61,7 @@ svg_load_page(fz_context *ctx, fz_document *doc_, int number)
if (number != 0)
return NULL;
- page = fz_new_page(ctx, sizeof *page);
+ page = fz_new_page(ctx, svg_page);
page->super.bound_page = svg_bound_page;
page->super.run_page_contents = svg_run_page;
page->super.drop_page = svg_drop_page;