summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-15 12:30:34 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-12-15 14:11:10 +0100
commit6c998c92c40332d858ed3a29776bc1b22da2ed22 (patch)
tree72ef41edcf14cfc91520eea55ce68a9547aded27 /source/pdf
parent209046c6faf046e7198cd159c232cfb885c58740 (diff)
downloadmupdf-6c998c92c40332d858ed3a29776bc1b22da2ed22.tar.xz
Rename fz_buffer_cat to fz_append_buffer.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-appearance.c4
-rw-r--r--source/pdf/pdf-lex.c2
2 files changed, 3 insertions, 3 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);
}
diff --git a/source/pdf/pdf-lex.c b/source/pdf/pdf-lex.c
index 26a0f2e7..0a909a02 100644
--- a/source/pdf/pdf-lex.c
+++ b/source/pdf/pdf-lex.c
@@ -587,7 +587,7 @@ void pdf_print_token(fz_context *ctx, fz_buffer *fzbuf, int tok, pdf_lexbuf *buf
if (buf->len >= buf->size)
pdf_lexbuf_grow(ctx, buf);
buf->scratch[buf->len] = 0;
- fz_buffer_cat_pdf_string(ctx, fzbuf, buf->scratch);
+ fz_buffer_print_pdf_string(ctx, fzbuf, buf->scratch);
break;
case PDF_TOK_OPEN_DICT:
fz_buffer_printf(ctx, fzbuf, "<<");