aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/dialog.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-08-16 12:45:08 +0200
committerBorja Lorente2016-08-19 16:30:24 +0200
commite5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d (patch)
tree757bf28b06a213e4053829c11e5e81bbb4affd5e /engines/macventure/dialog.cpp
parent34fdec37b26c7328f07f6251263f1c1afc7d1629 (diff)
downloadscummvm-rg350-e5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d.tar.gz
scummvm-rg350-e5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d.tar.bz2
scummvm-rg350-e5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d.zip
MACVENTURE: Break up one-line ifs and fix braces
Diffstat (limited to 'engines/macventure/dialog.cpp')
-rw-r--r--engines/macventure/dialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/macventure/dialog.cpp b/engines/macventure/dialog.cpp
index 27ef224712..7c375d425c 100644
--- a/engines/macventure/dialog.cpp
+++ b/engines/macventure/dialog.cpp
@@ -80,7 +80,9 @@ const Graphics::Font& Dialog::getFont() {
bool Dialog::processEvent(Common::Event event) {
for (Common::Array<DialogElement*>::iterator it = _elements.begin(); it != _elements.end(); it++) {
- if ((*it)->processEvent(this, event)) return true;
+ if ((*it)->processEvent(this, event)) {
+ return true;
+ }
}
return false;
}