aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bacca2002-09-29 22:09:34 +0000
committerNicolas Bacca2002-09-29 22:09:34 +0000
commitc71de2da47d208bf50dcf89f7d7f635c2c3c9a28 (patch)
treee02cb2cda0a1bfa0f4ab019e2459c857d252b122
parent2f07cd2a4a6e963e7d2b1f42828e99cab36a93aa (diff)
downloadscummvm-rg350-c71de2da47d208bf50dcf89f7d7f635c2c3c9a28.tar.gz
scummvm-rg350-c71de2da47d208bf50dcf89f7d7f635c2c3c9a28.tar.bz2
scummvm-rg350-c71de2da47d208bf50dcf89f7d7f635c2c3c9a28.zip
Quick fix for bug 601757 - will be fixed properly (ie MessageBox managed by the GUI) when I'll have reported my other diffs
svn-id: r5043
-rw-r--r--scumm/scummvm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index ce53440533..c6a44a9fdf 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1300,9 +1300,11 @@ void NORETURN CDECL error(const char *s, ...)
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 @@ void NORETURN CDECL error(const char *s, ...)
#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