diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-11-08 14:58:46 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-11-08 14:59:32 +0000 |
commit | dd57e3334404381f94ac082bf16f0fa4833e5b9b (patch) | |
tree | 96730b154393d5b8d50e176481989f570ac4ed06 /platform/gl | |
parent | 148341aff5bdc2678239383001328fa8010f2fe9 (diff) | |
download | mupdf-dd57e3334404381f94ac082bf16f0fa4833e5b9b.tar.xz |
Use fz_snprintf in preference to snprintf.
If nothing else, this avoids warnings on VS2005.
Diffstat (limited to 'platform/gl')
-rw-r--r-- | platform/gl/gl-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c index 724c9e41..5fc8d9b2 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -1061,7 +1061,7 @@ static void do_app(void) static int do_info_line(int x, int y, char *label, char *text) { char buf[512]; - snprintf(buf, sizeof buf, "%s: %s", label, text); + fz_snprintf(buf, sizeof buf, "%s: %s", label, text); ui_draw_string(ctx, x, y, buf); return y + ui.lineheight; } |