From cfb66cd25bbf31857b471735e5ff0f7c2aea4d3c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 12 Mar 2017 11:19:09 -0500 Subject: Rename fz_putc/puts/printf to fz_write_*. Rename fz_write to fz_write_data. Rename fz_write_buffer_* and fz_buffer_printf to fz_append_*. Be consistent in naming: fz_write_* calls write to fz_output. fz_append_* calls append to fz_buffer. Update documentation. --- source/fitz/load-gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/load-gif.c') diff --git a/source/fitz/load-gif.c b/source/fitz/load-gif.c index 49e7cc06..c8835774 100644 --- a/source/fitz/load-gif.c +++ b/source/fitz/load-gif.c @@ -110,7 +110,7 @@ gif_read_subblocks(fz_context *ctx, struct info *info, unsigned char *p, unsigne if (end - p < len) fz_throw(ctx, FZ_ERROR_GENERIC, "premature end in data subblock in gif image"); if (buf) - fz_write_buffer(ctx, buf, p, len); + fz_append_data(ctx, buf, p, len); p += len; } } while (len > 0); -- cgit v1.2.3