diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/colours.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/colours.h b/win/colours.h index 946e725ff..f30142bf9 100644 --- a/win/colours.h +++ b/win/colours.h @@ -31,7 +31,7 @@ int printf_c(const char * format, ...) /* parse arguments */
va_list ap;
va_start(ap, format);
- vsprintf(message, format, ap);
+ vsnprintf(message, 500, format, ap);
va_end(ap);
/* search for unix-style escape sequences */
|