diff options
Diffstat (limited to 'source/fitz/stext-device.c')
-rw-r--r-- | source/fitz/stext-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c index 06a06e83..d0d9d401 100644 --- a/source/fitz/stext-device.c +++ b/source/fitz/stext-device.c @@ -1097,7 +1097,7 @@ fz_parse_stext_options(fz_context *ctx, fz_stext_options *opts, const char *stri fz_device * fz_new_stext_device(fz_context *ctx, fz_stext_sheet *sheet, fz_stext_page *page, const fz_stext_options *opts) { - fz_stext_device *dev = fz_new_device(ctx, sizeof *dev); + fz_stext_device *dev = fz_new_derived_device(ctx, fz_stext_device); dev->super.hints = FZ_IGNORE_IMAGE | FZ_IGNORE_SHADE; |