summaryrefslogtreecommitdiff
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-04 10:09:57 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-04 10:09:57 +0000
commit3182cbb33210f7c783099d6d88acc12e0f29ef0b (patch)
treef88530dd1db68c7d041ef9205552ec56b83cab2d /src/debug.cpp
parent23fab42b2fb37c540ae2cf90eaa7553895d0407c (diff)
downloadopenttd-3182cbb33210f7c783099d6d88acc12e0f29ef0b.tar.xz
(svn r11755) -Fix: Debug level string buffer was not long enough to contain all debug levels.
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 41245b979..23c3b8d18 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -162,7 +162,7 @@ void SetDebugString(const char *s)
const char *GetDebugString()
{
const DebugLevel *i;
- static char dbgstr[100];
+ static char dbgstr[150];
char dbgval[20];
memset(dbgstr, 0, sizeof(dbgstr));