diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-02-16 13:21:38 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-02-27 14:08:02 +0100 |
commit | 3af0e2db71223493b7c9888980482743b87afd1b (patch) | |
tree | 83ad4505e81b8433e18481c314c2ff237ceb7068 /source | |
parent | a8c34d214640620f01a49b1dabec3662af311ffd (diff) | |
download | mupdf-3af0e2db71223493b7c9888980482743b87afd1b.tar.xz |
Fix bug in pdf_annot_icon_name.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-annot-edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-annot-edit.c b/source/pdf/pdf-annot-edit.c index 04a11c08..5142b8c1 100644 --- a/source/pdf/pdf-annot-edit.c +++ b/source/pdf/pdf-annot-edit.c @@ -327,7 +327,7 @@ const char * pdf_annot_icon_name(fz_context *ctx, pdf_annot *annot) { check_allowed_subtypes(ctx, annot, PDF_NAME_Name, icon_name_subtypes); - return pdf_to_str_buf(ctx, pdf_dict_get(ctx, annot->obj, PDF_NAME_Name)); + return pdf_to_name(ctx, pdf_dict_get(ctx, annot->obj, PDF_NAME_Name)); } void |