diff options
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/output-pcl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/output-pcl.c b/source/fitz/output-pcl.c index e26b8c34..99cc819f 100644 --- a/source/fitz/output-pcl.c +++ b/source/fitz/output-pcl.c @@ -345,7 +345,7 @@ make_init(fz_pcl_options *pcl, char *buf, unsigned long len, const char *str, in { int paper_source = -1; - snprintf(buf, len, str, res); + fz_snprintf(buf, len, str, res); if (pcl->manual_feed_set && pcl->manual_feed) paper_source = 2; @@ -354,7 +354,7 @@ make_init(fz_pcl_options *pcl, char *buf, unsigned long len, const char *str, in if (paper_source >= 0) { char buf2[40]; - snprintf(buf2, sizeof(buf2), "\033&l%dH", paper_source); + fz_snprintf(buf2, sizeof(buf2), "\033&l%dH", paper_source); strncat(buf, buf2, len); } } |