LURE: Add missing if block brackets
This commit is contained in:
parent
71e3044d48
commit
db8d46fc39
1 changed files with 2 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue