diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-03-28 10:55:24 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-03-28 10:56:21 +0100 |
commit | a7e597397133d4aaa717869258eac6ae34c7dad0 (patch) | |
tree | ce8c4a2c34f4282b69ddd24531ae1c319470e8c4 /source/fitz/list-device.c | |
parent | 57b2ee8fe52cf9e2eaf4095b8697f33e17a5529f (diff) | |
download | mupdf-a7e597397133d4aaa717869258eac6ae34c7dad0.tar.xz |
Rejig fz_new_device to be fz_new_derived_device.
In keeping with the rest of the code.
Diffstat (limited to 'source/fitz/list-device.c')
-rw-r--r-- | source/fitz/list-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/list-device.c b/source/fitz/list-device.c index b12612b4..1f0d19d6 100644 --- a/source/fitz/list-device.c +++ b/source/fitz/list-device.c @@ -1209,7 +1209,7 @@ fz_new_list_device(fz_context *ctx, fz_display_list *list) { fz_list_device *dev; - dev = fz_new_device(ctx, sizeof(fz_list_device)); + dev = fz_new_derived_device(ctx, fz_list_device); dev->super.fill_path = fz_list_fill_path; dev->super.stroke_path = fz_list_stroke_path; |