From e137ad8b1a98542192eef20b21aa85d1719c7f33 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 22 Feb 2007 09:31:43 +0000 Subject: Add James Harvey's excellent new puzzle, `Galaxies'. [originally from svn r7304] --- windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'windows.c') diff --git a/windows.c b/windows.c index 2f1a6f0..82767e4 100644 --- a/windows.c +++ b/windows.c @@ -84,7 +84,7 @@ void debug_printf(char *fmt, ...) va_list ap; va_start(ap, fmt); - vsprintf(buf, fmt, ap); + _vsnprintf(buf, 4095, fmt, ap); dputs(buf); va_end(ap); } -- cgit v1.1