[Scummvm-git-logs] scummvm master -> 9d1d5ba33881f8890a443dbdb26cd2f4f0fcb759

digitall noreply at scummvm.org
Wed Dec 14 09:19:06 UTC 2022


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:
9d1d5ba338 SCUMM: GUI: Fix GCC Compiler Parantheses Needed Warning


Commit: 9d1d5ba33881f8890a443dbdb26cd2f4f0fcb759
    https://github.com/scummvm/scummvm/commit/9d1d5ba33881f8890a443dbdb26cd2f4f0fcb759
Author: D G Turner (digitall at scummvm.org)
Date: 2022-12-14T09:18:26Z

Commit Message:
SCUMM: GUI: Fix GCC Compiler Parantheses Needed Warning

Changed paths:
    engines/scumm/input.cpp


diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index df73488699a..697f54e2ff8 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -898,8 +898,8 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) {
 		char sliderString[256];
 		PauseToken pt;
 
-		if ((VAR_PAUSE_KEY != 0xFF && (lastKeyHit.ascii == VAR(VAR_PAUSE_KEY)) ||
-			(lastKeyHit.keycode == Common::KEYCODE_SPACE && _game.features & GF_DEMO))) {
+		if ((VAR_PAUSE_KEY != 0xFF && lastKeyHit.ascii == VAR(VAR_PAUSE_KEY)) ||
+			(lastKeyHit.keycode == Common::KEYCODE_SPACE && _game.features & GF_DEMO)) {
 			if (isSegaCD) {
 				if (VAR(VAR_MAINMENU_KEY) != 0)
 					showMainMenu();




More information about the Scummvm-git-logs mailing list