[Scummvm-cvs-logs] scummvm master -> 0e7dc36792e8472f823af56a43f6d75aba3db29b

lordhoto lordhoto at gmail.com
Tue Mar 8 20:13:45 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0e7dc36792 DRASCULA: Fix a style related warning for WinCE specific code.


Commit: 0e7dc36792e8472f823af56a43f6d75aba3db29b
    https://github.com/scummvm/scummvm/commit/0e7dc36792e8472f823af56a43f6d75aba3db29b
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-03-08T11:11:13-08:00

Commit Message:
DRASCULA: Fix a style related warning for WinCE specific code.

Changed paths:
    engines/drascula/drascula.cpp



diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index e84e80c..b59ab6f 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -512,7 +512,7 @@ bool DrasculaEngine::runCurrentChapter() {
 			checkObjects();
 
 #ifdef _WIN32_WCE
-		if (rightMouseButton)
+		if (rightMouseButton) {
 			if (_menuScreen) {
 #else
 		if (rightMouseButton == 1 && _menuScreen) {
@@ -570,6 +570,9 @@ bool DrasculaEngine::runCurrentChapter() {
 #endif
 			selectVerb(kVerbNone);
 		}
+#ifdef _WIN32_WCE
+		}
+#endif
 
 		if (leftMouseButton == 1 && _menuBar) {
 			delay(100);






More information about the Scummvm-git-logs mailing list