diff options
Diffstat (limited to 'gui/debugger.cpp')
-rw-r--r-- | gui/debugger.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp index 9bd3b35915..8c10154334 100644 --- a/gui/debugger.cpp +++ b/gui/debugger.cpp @@ -23,6 +23,9 @@ * */ +// NB: This is really only necessary if USE_READLINE is defined +#define FORBIDDEN_SYMBOL_ALLOW_ALL + #include "common/debug.h" #include "common/debug-channels.h" #include "common/system.h" @@ -78,7 +81,7 @@ int Debugger::DebugPrintf(const char *format, ...) { va_start(argptr, format); int count; #ifndef USE_TEXT_CONSOLE - count = _debuggerDialog->vprintf(format, argptr); + count = _debuggerDialog->vprintFormat(1, format, argptr); #else count = ::vprintf(format, argptr); #endif |