summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
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);