diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-06-26 11:18:39 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-07-04 17:23:21 +0200 |
commit | 47f4a39fa39e5f4c8b7ef8fc91d90728c9880220 (patch) | |
tree | bc3d5b4c350690350c1637d29350005dd15dd529 /source/pdf/pdf-appearance.c | |
parent | 2b9d084882cc04b79e194368e8d1393f55d36d61 (diff) | |
download | mupdf-47f4a39fa39e5f4c8b7ef8fc91d90728c9880220.tar.xz |
Rename pdf_get_annot_contents to pdf_annot_contents.
Since the function no longer returns ownership of the string, use the
common naming convention.
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 b80b2764..e936bbb0 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -955,7 +955,7 @@ pdf_write_free_text_appearance(fz_context *ctx, pdf_annot *annot, fz_buffer *buf int q, r; /* /Rotate is an undocumented annotation property supported by Adobe */ - text = pdf_get_annot_contents(ctx, annot); + text = pdf_annot_contents(ctx, annot); r = pdf_dict_get_int(ctx, annot->obj, PDF_NAME(Rotate)); q = pdf_annot_quadding(ctx, annot); pdf_annot_default_appearance(ctx, annot, &font, &size, color); |