diff options
author | Johannes Schickel | 2010-04-19 12:50:49 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-04-19 12:50:49 +0000 |
commit | 71331c7f53d91b3e46b65b46aaa50d35f13176cc (patch) | |
tree | 6e83de8a26760e0695aa83f9a42c4740fcbc54ed /common | |
parent | 1e1e049e3266b3448c04b654fe0fb2b844ca6070 (diff) | |
download | scummvm-rg350-71331c7f53d91b3e46b65b46aaa50d35f13176cc.tar.gz scummvm-rg350-71331c7f53d91b3e46b65b46aaa50d35f13176cc.tar.bz2 scummvm-rg350-71331c7f53d91b3e46b65b46aaa50d35f13176cc.zip |
Fix regression introduced with r46130, which caused debugN strings to be post processed via debugOutputFormatter.
Formerly all debugN strings were not post processed via "errorString" (or the
"debugOutputFormatter" as it is called nowadays). This revision did change
how debug strings are post processed and removed the special case for debugN
by accident.
svn-id: r48716
Diffstat (limited to 'common')
-rw-r--r-- | common/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/debug.cpp b/common/debug.cpp index ed18639124..430083f3d8 100644 --- a/common/debug.cpp +++ b/common/debug.cpp @@ -156,7 +156,7 @@ static void debugHelper(const char *s, va_list va, bool caret = true) { // Next, give the active engine (if any) a chance to augment the message, // but only if not used from debugN. - if (Common::s_debugOutputFormatter) { + if (caret && Common::s_debugOutputFormatter) { (*Common::s_debugOutputFormatter)(buf, in_buf, STRINGBUFLEN); } else { strncpy(buf, in_buf, STRINGBUFLEN); |