[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,1.42,1.43

Nicolas Bacca arisme at users.sourceforge.net
Sun Sep 29 15:10:05 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv8567

Modified Files:
	scummvm.cpp 
Log Message:
Quick fix for bug 601757 - will be fixed properly (ie MessageBox managed by the GUI) when I'll have reported my other diffs

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- scummvm.cpp	29 Sep 2002 11:11:42 -0000	1.42
+++ scummvm.cpp	29 Sep 2002 22:09:34 -0000	1.43
@@ -1300,9 +1300,11 @@
 			g_scumm->_scriptPointer - g_scumm->_scriptOrgPointer,
 			buf);
 #if defined ( _WIN32_WCE )	
+/*
 			MultiByteToWideChar(CP_ACP, 0, buf2, strlen(buf2) + 1, buf2w, sizeof(buf2w));
 			GraphicsOff();
 			MessageBox(NULL, buf2w, TEXT("ScummVM error"), MB_OK);
+*/
 #else
 			OutputDebugString(buf2);
 #endif
@@ -1313,9 +1315,11 @@
 #if defined( USE_WINDBG ) || defined( _WIN32_WCE )
 		sprintf(&buf[strlen(buf)], "\n");
 #if defined ( _WIN32_WCE )	
+/*
 			MultiByteToWideChar(CP_ACP, 0, buf, strlen(buf) + 1, buf2w, sizeof(buf2w));
 			GraphicsOff();
 			MessageBox(NULL, buf2w, TEXT("ScummVM error"), MB_OK);
+*/
 #else
 			OutputDebugString(buf);
 #endif





More information about the Scummvm-git-logs mailing list