summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorJonathan G Rennison <j.g.rennison@gmail.com>2016-09-05 01:18:09 +0100
committerCharles Pigott <charlespigott@googlemail.com>2020-12-27 10:30:55 +0000
commit5cf28be742581d335ecb0c270e8039ee8ed9ccf0 (patch)
tree8b6d8ea52ae97e02515031499d4e8d319fe171bb /src/openttd.cpp
parenteb74179c6d66921d2946e4a93e41a5de0af4a4ac (diff)
downloadopenttd-5cf28be742581d335ecb0c270e8039ee8ed9ccf0.tar.xz
Codechange: Add support for verbose asserts
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index e4fcf40e9..33f65314d 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -129,7 +129,7 @@ void CDECL usererror(const char *s, ...)
void CDECL error(const char *s, ...)
{
va_list va;
- char buf[512];
+ char buf[2048];
va_start(va, s);
vseprintf(buf, lastof(buf), s, va);