diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 12:30:34 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 14:11:10 +0100 |
commit | 6c998c92c40332d858ed3a29776bc1b22da2ed22 (patch) | |
tree | 72ef41edcf14cfc91520eea55ce68a9547aded27 /source/pdf/pdf-appearance.c | |
parent | 209046c6faf046e7198cd159c232cfb885c58740 (diff) | |
download | mupdf-6c998c92c40332d858ed3a29776bc1b22da2ed22.tar.xz |
Rename fz_buffer_cat to fz_append_buffer.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r-- | source/pdf/pdf-appearance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c index 6132f97f..055c0f5f 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -319,7 +319,7 @@ static void fzbuf_print_text(fz_context *ctx, fz_buffer *fzbuf, const fz_rect *c if (tm) fz_buffer_printf(ctx, fzbuf, fmt_Tm, tm->a, tm->b, tm->c, tm->d, tm->e, tm->f); - fz_buffer_cat_pdf_string(ctx, fzbuf, text); + fz_buffer_print_pdf_string(ctx, fzbuf, text); fz_buffer_printf(ctx, fzbuf, fmt_Tj); fz_buffer_printf(ctx, fzbuf, fmt_ET); fz_buffer_printf(ctx, fzbuf, fmt_Q); @@ -703,7 +703,7 @@ static fz_buffer *create_text_appearance(fz_context *ctx, pdf_document *doc, con fzbuf_print_text_start1(ctx, fzbuf, &rect, info->col); fzbuf_print_text_start2(ctx, fzbuf, &info->font_rec, &tm); - fz_buffer_cat(ctx, fzbuf, fztmp); + fz_append_buffer(ctx, fzbuf, fztmp); fzbuf_print_text_end(ctx, fzbuf); } |