[Scummvm-cvs-logs] SF.net SVN: scummvm: [32179] scummvm/trunk/common/util.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon May 19 15:15:33 CEST 2008


Revision: 32179
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32179&view=rev
Author:   fingolfin
Date:     2008-05-19 06:15:32 -0700 (Mon, 19 May 2008)

Log Message:
-----------
Removed some more obsolete GP32 code

Modified Paths:
--------------
    scummvm/trunk/common/util.cpp

Modified: scummvm/trunk/common/util.cpp
===================================================================
--- scummvm/trunk/common/util.cpp	2008-05-19 13:13:41 UTC (rev 32178)
+++ scummvm/trunk/common/util.cpp	2008-05-19 13:15:32 UTC (rev 32179)
@@ -578,14 +578,8 @@
 
 
 	// Print the error message to stderr
-#ifdef __GP32__
-	printf("ERROR: %s\n", buf_output);
-#else
 	fprintf(stderr, "%s!\n", buf_output);
-#endif
 
-
-#ifndef __GP32__
 	// Unless this error -originated- within the debugger itself, we
 	// now invoke the debugger, if available / supported.
 	if (g_engine) {
@@ -599,7 +593,6 @@
 			debugger->onFrame();
 		}
 	}
-#endif
 
 
 #if defined( USE_WINDBG )
@@ -641,13 +634,10 @@
 	vsnprintf(buf, STRINGBUFLEN, s, va);
 	va_end(va);
 
-#ifdef __GP32__ //ph0x FIXME: implement fprint?
-	printf("WARNING: %s\n", buf);
-#else
 #if !defined (__SYMBIAN32__)
 	fprintf(stderr, "WARNING: %s!\n", buf);
 #endif
-#endif
+
 #if defined( USE_WINDBG )
 	strcat(buf, "\n");
 #if defined( _WIN32_WCE )


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