aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/dialog.cpp
diff options
context:
space:
mode:
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;
}