diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-04-12 13:51:44 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-04-25 12:26:32 +0200 |
commit | e41e86bd0172036cb29d6fe1a26f88ad075d060f (patch) | |
tree | fdb4478c773621eb166a3dab0ae51e33654a3667 /source/pdf/pdf-op-filter.c | |
parent | 6ee3e43ca37620febd255390b2c29a2ceda35f93 (diff) | |
download | mupdf-e41e86bd0172036cb29d6fe1a26f88ad075d060f.tar.xz |
Remove document argument from pdf_new_primitive functions.
Also remove useless pdf_new_null and pdf_new_bool functions.
Use the PDF_NULL, PDF_TRUE, and PDF_FALSE macros instead.
Diffstat (limited to 'source/pdf/pdf-op-filter.c')
-rw-r--r-- | source/pdf/pdf-op-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-op-filter.c b/source/pdf/pdf-op-filter.c index b848816d..ec905ff7 100644 --- a/source/pdf/pdf-op-filter.c +++ b/source/pdf/pdf-op-filter.c @@ -504,7 +504,7 @@ send_adjustment(fz_context *ctx, pdf_filter_processor *p, fz_point skip) { float skip_dist = p->tos.fontdesc->wmode == 1 ? -skip.y : -skip.x; skip_dist = skip_dist / p->gstate->pending.text.size; - skip_obj = pdf_new_real(ctx, p->doc, skip_dist * 1000); + skip_obj = pdf_new_real(ctx, skip_dist * 1000); pdf_array_insert(ctx, arr, skip_obj, 0); |