[Scummvm-cvs-logs] scummvm master -> ed392518f54251d7555e20874b995c112f94004c

urukgit urukgit at users.noreply.github.com
Tue Mar 4 20:50:58 CET 2014


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:
ed392518f5 AVALANCHE: Fix parentheses in Help::handleMouse().


Commit: ed392518f54251d7555e20874b995c112f94004c
    https://github.com/scummvm/scummvm/commit/ed392518f54251d7555e20874b995c112f94004c
Author: uruk (koppirnyo at gmail.com)
Date: 2014-03-04T11:50:25-08:00

Commit Message:
AVALANCHE: Fix parentheses in Help::handleMouse().

Changed paths:
    engines/avalanche/help.cpp



diff --git a/engines/avalanche/help.cpp b/engines/avalanche/help.cpp
index 2388aae..8584bfa 100644
--- a/engines/avalanche/help.cpp
+++ b/engines/avalanche/help.cpp
@@ -190,7 +190,7 @@ bool Help::handleMouse(const Common::Event &event) {
 
 		Color highlightColor = kColorLightblue;
 		// If we clicked on a button or we are holding down the button, we have to highlight it with cyan:
-		if (((highlightIs != 177) && ((event.type == Common::EVENT_LBUTTONDOWN)) || _holdLeft)) {
+		if (((highlightIs != 177) && (event.type == Common::EVENT_LBUTTONDOWN)) || _holdLeft) {
 			_holdLeft = true;
 			highlightColor = kColorLightcyan;
 		}






More information about the Scummvm-git-logs mailing list