diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-08 10:23:54 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-08 18:53:00 +0800 |
commit | 88f2231bc5f19f54041713e2955345cae14d4cf5 (patch) | |
tree | 2bd2d062e553e2ee205b3f18c3eac4795cb22761 /platform | |
parent | 2c7a17acdede9bca279aa49653e7ed0eb44e98dc (diff) | |
download | mupdf-88f2231bc5f19f54041713e2955345cae14d4cf5.tar.xz |
Use fz_vsnprintf() in x11 viewer.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/x11/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index e76f9be0..a7e9ebea 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -51,7 +51,7 @@ static void pdfapp_warn(pdfapp_t *app, const char *fmt, ...) char buf[1024]; va_list ap; va_start(ap, fmt); - vsnprintf(buf, sizeof(buf), fmt, ap); + fz_vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); buf[sizeof(buf)-1] = 0; winwarn(app, buf); |