diff options
Diffstat (limited to 'source/tools')
-rw-r--r-- | source/tools/pdfextract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfextract.c b/source/tools/pdfextract.c index c7105613..000210dd 100644 --- a/source/tools/pdfextract.c +++ b/source/tools/pdfextract.c @@ -68,7 +68,7 @@ writejpeg(fz_context *ctx, const unsigned char *data, size_t len, const char *fi char buf[1024]; fz_output *out; - snprintf(buf, sizeof(buf), "%s.jpg", file); + fz_snprintf(buf, sizeof(buf), "%s.jpg", file); out = fz_new_output_with_path(ctx, buf, 0); fz_try(ctx) |