[Scummvm-cvs-logs] SF.net SVN: scummvm:[48716] scummvm/trunk/common/debug.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Apr 19 14:50:49 CEST 2010


Revision: 48716
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48716&view=rev
Author:   lordhoto
Date:     2010-04-19 12:50:49 +0000 (Mon, 19 Apr 2010)

Log Message:
-----------
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.

Modified Paths:
--------------
    scummvm/trunk/common/debug.cpp

Modified: scummvm/trunk/common/debug.cpp
===================================================================
--- scummvm/trunk/common/debug.cpp	2010-04-19 11:59:46 UTC (rev 48715)
+++ scummvm/trunk/common/debug.cpp	2010-04-19 12:50:49 UTC (rev 48716)
@@ -156,7 +156,7 @@
 
 	// 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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list