[Scummvm-cvs-logs] CVS: scummvm/scumm debugger.cpp,1.115,1.116

Pawel Kolodziejski aquadran at users.sourceforge.net
Mon Jan 12 10:52:01 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv14456

Modified Files:
	debugger.cpp 
Log Message:
- indent
- fix for compilation, is it proper ?

Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/debugger.cpp,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- debugger.cpp	11 Jan 2004 20:42:40 -0000	1.115
+++ debugger.cpp	12 Jan 2004 18:51:15 -0000	1.116
@@ -41,22 +41,22 @@
 
 void CDECL debugC(int channel, const char *s, ...) {
 #ifdef __PALM_OS__
-        char buf[256]; // 1024 is too big overflow the stack
+	char buf[256]; // 1024 is too big overflow the stack
 #else
-        char buf[1024];
+	char buf[1024];
 #endif
-        va_list va;
+	va_list va;
 
 	// FIXME: Still spew all debug at -d9, for crashes in startup etc.
 	//	  Add setting from commandline ( / abstract channel interface)
-        if (!(g_scumm->_debugFlags & channel) && (g_debugLevel < 9))
-                return;
+	if (!(g_scumm->_debugFlags & channel) && (g_debugLevel < 9))
+		return;
 
-        va_start(va, s);
-        vsprintf(buf, s, va);
-        va_end(va);
+	va_start(va, s);
+	vsprintf(buf, s, va);
+	va_end(va);
 
-	debug(buf);
+	debug(g_debugLevel, buf);
 };
 	
 ScummDebugger::ScummDebugger(ScummEngine *s)





More information about the Scummvm-git-logs mailing list