diff options
author | rubidium <rubidium@openttd.org> | 2014-04-24 19:51:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-04-24 19:51:45 +0000 |
commit | e61fe2123728dd4cd2eba3ed628905b337ddff19 (patch) | |
tree | aedd5865dbb78dc700d89d3f9478c73d90bcaf60 /src/debug.cpp | |
parent | fad2d3c709a6d468024284d9e6b7830f7c62e917 (diff) | |
download | openttd-e61fe2123728dd4cd2eba3ed628905b337ddff19.tar.xz |
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
Diffstat (limited to 'src/debug.cpp')
-rw-r--r-- | src/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index ad99dc38d..16eecadad 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -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); |