[Scummvm-cvs-logs] CVS: scummvm/base engine.cpp,1.14,1.15

Nicolas Bacca arisme at users.sourceforge.net
Thu Mar 4 13:36:11 CET 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15831

Modified Files:
	engine.cpp 
Log Message:
Avoid flooding CE files since stdin and stderr exist now

Index: engine.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/engine.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- engine.cpp	29 Jan 2004 21:54:03 -0000	1.14
+++ engine.cpp	4 Mar 2004 21:14:11 -0000	1.15
@@ -103,8 +103,10 @@
 #ifdef __GP32__ //ph0x FIXME?
 	printf("ERROR: %s\n", buf_output);
 #else
+#ifndef _WIN32_WCE
 	fprintf(stderr, "%s!\n", buf_output);
 #endif
+#endif
 
 #if defined( USE_WINDBG )
 #if defined( _WIN32_WCE )
@@ -146,8 +148,10 @@
 #ifdef __GP32__ //ph0x FIXME: implement fprint?
 	printf("WARNING: %s\n", buf);
 #else
+#ifndef _WIN32_WCE
 	fprintf(stderr, "WARNING: %s!\n", buf);
 #endif
+#endif
 #if defined( USE_WINDBG )
 	strcat(buf, "\n");
 #if defined( _WIN32_WCE )
@@ -174,7 +178,9 @@
 	va_start(va, s);
 	vsprintf(buf, s, va);
 	va_end(va);
+#ifndef _WIN32_WCE
 	printf("%s\n", buf);
+#endif
 
 #if defined( USE_WINDBG )
 	strcat(buf, "\n");





More information about the Scummvm-git-logs mailing list