[Scummvm-git-logs] scummvm master -> 6a72504501c94e4865b59089d598f2628686b47e

bluegr noreply at scummvm.org
Thu Aug 1 08:13:40 UTC 2024


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:
6a72504501 GRIM: Add parentheses around bitwise operation


Commit: 6a72504501c94e4865b59089d598f2628686b47e
    https://github.com/scummvm/scummvm/commit/6a72504501c94e4865b59089d598f2628686b47e
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-08-01T11:13:37+03:00

Commit Message:
GRIM: Add parentheses around bitwise operation

Changed paths:
    engines/grim/grim.cpp


diff --git a/engines/grim/grim.cpp b/engines/grim/grim.cpp
index 532b08e586f..43ddb7f7eac 100644
--- a/engines/grim/grim.cpp
+++ b/engines/grim/grim.cpp
@@ -1060,7 +1060,7 @@ void GrimEngine::mainLoop() {
 						continue;
 					}
 
-					if (_mode != DrawMode && _mode != SmushMode && ((event.kbd.ascii == 'q') || (event.kbd.ascii == 'x' && event.kbd.flags & Common::KBD_ALT))) {
+					if (_mode != DrawMode && _mode != SmushMode && ((event.kbd.ascii == 'q') || (event.kbd.ascii == 'x' && (event.kbd.flags & Common::KBD_ALT)))) {
 						handleExit();
 						break;
 					} else if (_mode != DrawMode && (event.kbd.keycode == Common::KEYCODE_PAUSE)) {




More information about the Scummvm-git-logs mailing list