(svn r11755) -Fix: Debug level string buffer was not long enough to contain all debug levels.

This commit is contained in:
peter1138 2008-01-04 10:09:57 +00:00
parent 23fab42b2f
commit 3182cbb332

View File

@ -162,7 +162,7 @@ void SetDebugString(const char *s)
const char *GetDebugString() const char *GetDebugString()
{ {
const DebugLevel *i; const DebugLevel *i;
static char dbgstr[100]; static char dbgstr[150];
char dbgval[20]; char dbgval[20];
memset(dbgstr, 0, sizeof(dbgstr)); memset(dbgstr, 0, sizeof(dbgstr));