diff options
author | Borja Lorente | 2016-08-16 12:45:08 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-19 16:30:24 +0200 |
commit | e5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d (patch) | |
tree | 757bf28b06a213e4053829c11e5e81bbb4affd5e /engines/macventure/dialog.cpp | |
parent | 34fdec37b26c7328f07f6251263f1c1afc7d1629 (diff) | |
download | scummvm-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.cpp | 4 |
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; } |