diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-04 10:09:57 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-04 10:09:57 +0000 |
commit | 7f4a03d0731c7c89c2fc59b1317e3e9a66c2e58a (patch) | |
tree | f88530dd1db68c7d041ef9205552ec56b83cab2d /src | |
parent | bd9741e08673f19cbab33e49ffba5aee523e0c56 (diff) | |
download | openttd-7f4a03d0731c7c89c2fc59b1317e3e9a66c2e58a.tar.xz |
(svn r11755) -Fix: Debug level string buffer was not long enough to contain all debug levels.
Diffstat (limited to 'src')
-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 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)); |