From 3182cbb33210f7c783099d6d88acc12e0f29ef0b Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 4 Jan 2008 10:09:57 +0000 Subject: [PATCH] (svn r11755) -Fix: Debug level string buffer was not long enough to contain all debug levels. --- src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.cpp b/src/debug.cpp index 41245b9790..23c3b8d187 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));