[Scummvm-git-logs] scummvm branch-2-2 -> db8d46fc3987f07efdd9a262c56a47cbe17d0fc7

dreammaster paulfgilbert at gmail.com
Sun Sep 6 18:20:01 UTC 2020


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:
db8d46fc39 LURE: Add missing if block brackets


Commit: db8d46fc3987f07efdd9a262c56a47cbe17d0fc7
    https://github.com/scummvm/scummvm/commit/db8d46fc3987f07efdd9a262c56a47cbe17d0fc7
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-09-06T11:19:49-07:00

Commit Message:
LURE: Add missing if block brackets

Changed paths:
    engines/lure/menu.cpp


diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp
index ea4d3b4f20..12a2fd44e9 100644
--- a/engines/lure/menu.cpp
+++ b/engines/lure/menu.cpp
@@ -599,9 +599,10 @@ uint16 PopupMenu::Show(int numEntries, const char *actions[]) {
 
 				if (r.contains(x, y)) {
 					selectedIndex = (y - r.top) / FONT_HEIGHT;
-					if (e.type() == Common::EVENT_LBUTTONDOWN)
+					if (e.type() == Common::EVENT_LBUTTONDOWN) {
 						bailOut = true;
 						break;
+					}
 				}
 #else
 			} else if ((e.type() == Common::EVENT_LBUTTONDOWN) ||




More information about the Scummvm-git-logs mailing list