[Scummvm-git-logs] scummvm master -> c882993256dfed4b9d483ce18aa89e5966d91c7f

dreammaster paulfgilbert at gmail.com
Sun Sep 6 18:19:32 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:
c882993256 LURE: Add missing if block brackets


Commit: c882993256dfed4b9d483ce18aa89e5966d91c7f
    https://github.com/scummvm/scummvm/commit/c882993256dfed4b9d483ce18aa89e5966d91c7f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-09-06T11:19:22-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