[Scummvm-cvs-logs] SF.net SVN: scummvm:[54039] scummvm/trunk/engines/m4/converse.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Nov 2 10:50:29 CET 2010
Revision: 54039
http://scummvm.svn.sourceforge.net/scummvm/?rev=54039&view=rev
Author: fingolfin
Date: 2010-11-02 09:50:29 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
M4: Convert last few printfs to debug
Modified Paths:
--------------
scummvm/trunk/engines/m4/converse.cpp
Modified: scummvm/trunk/engines/m4/converse.cpp
===================================================================
--- scummvm/trunk/engines/m4/converse.cpp 2010-11-02 09:50:14 UTC (rev 54038)
+++ scummvm/trunk/engines/m4/converse.cpp 2010-11-02 09:50:29 UTC (rev 54039)
@@ -470,8 +470,8 @@
if (debugFlag) debug(kDebugConversations, "Unknown (attributes perhaps?): %i\n", data);
data = convS->readUint32LE();
if (debugFlag) debug(kDebugConversations, "Entry flags: ");
- if (debugFlag) if (data & kEntryInitial) printf ("Initial ");
- if (debugFlag) if (data & kEntryPersists) printf ("Persists ");
+ if (debugFlag) if (data & kEntryInitial) debug(kDebugConversations, "Initial ");
+ if (debugFlag) if (data & kEntryPersists) debug(kDebugConversations, "Persists ");
if (debugFlag) debug(kDebugConversations, "\n");
curEntry->flags = data;
curEntry->visible = (curEntry->flags & kEntryInitial) ? true : false;
@@ -1094,7 +1094,7 @@
//debug(kDebugConversations, "Var %i = %i\n", var, val);
break;
default:
- printf ("Unknown chunk type! (%i)\n", chunk);
+ debug(kDebugConversations, "Unknown chunk type! (%i)\n", chunk);
break;
}
}
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