[Scummvm-cvs-logs] CVS: scummvm/base engine.cpp,1.14,1.14.2.1
Nicolas Bacca
arisme at users.sourceforge.net
Thu Mar 4 13:36:00 CET 2004
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15673
Modified Files:
Tag: branch-0-6-0
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.14.2.1
diff -u -d -r1.14 -r1.14.2.1
--- engine.cpp 29 Jan 2004 21:54:03 -0000 1.14
+++ engine.cpp 4 Mar 2004 21:13:38 -0000 1.14.2.1
@@ -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