[Scummvm-cvs-logs] SF.net SVN: scummvm:[47772] scummvm/trunk/engines/sci/console.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sun Jan 31 19:49:59 CET 2010


Revision: 47772
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47772&view=rev
Author:   m_kiewitz
Date:     2010-01-31 18:49:59 +0000 (Sun, 31 Jan 2010)

Log Message:
-----------
SCI: fix printObject, so it does not output some spaces to terminal in case its supposed to output to debug console

Modified Paths:
--------------
    scummvm/trunk/engines/sci/console.cpp

Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp	2010-01-31 18:29:54 UTC (rev 47771)
+++ scummvm/trunk/engines/sci/console.cpp	2010-01-31 18:49:59 UTC (rev 47772)
@@ -2976,7 +2976,7 @@
 		var_container = s->_segMan->getObject(obj->getSuperClassSelector());
 	DebugPrintf("  -- member variables:\n");
 	for (i = 0; (uint)i < obj->getVarCount(); i++) {
-		printf("    ");
+		DebugPrintf("    ");
 		if (i < var_container->getVarCount()) {
 			uint16 varSelector = var_container->getVarSelector(i);
 			DebugPrintf("[%03x] %s = ", varSelector, selector_name(s, varSelector));


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