mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-25 07:29:10 +00:00
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
This commit is contained in:
@@ -163,7 +163,7 @@ void CDECL debug(const char *dbg, const char *format, ...)
|
||||
|
||||
va_list va;
|
||||
va_start(va, format);
|
||||
vsnprintf(buf, lengthof(buf), format, va);
|
||||
vseprintf(buf, lastof(buf), format, va);
|
||||
va_end(va);
|
||||
|
||||
debug_print(dbg, buf);
|
||||
|
Reference in New Issue
Block a user