diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-07 14:06:10 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-08 17:21:23 +0200 |
commit | 5b029fe5752c11e8de2e683c857db547e90a45be (patch) | |
tree | cfa6ed22c7f4785bfd66a5f3741b5ff6567bc99e /source/pdf/pdf-appearance.c | |
parent | adc4932af62fde5e9eb1106f751659962cb89dc3 (diff) | |
download | mupdf-5b029fe5752c11e8de2e683c857db547e90a45be.tar.xz |
Slim pdf_annot struct: remove cached annot_type and widget_type fields.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r-- | source/pdf/pdf-appearance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c index 1e74fa15..d9e9e5a0 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -2435,7 +2435,7 @@ void pdf_update_appearance(fz_context *ctx, pdf_document *doc, pdf_annot *annot) pdf_obj *obj = annot->obj; if (!pdf_dict_get(ctx, obj, PDF_NAME_AP) || pdf_obj_is_dirty(ctx, obj)) { - fz_annot_type type = pdf_annot_obj_type(ctx, obj); + fz_annot_type type = pdf_annot_type(ctx, annot); switch (type) { case FZ_ANNOT_WIDGET: |