diff options
author | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
commit | be6c0584240caf420b2475a0be036391e842e8af (patch) | |
tree | 6111751cf5526e1eb41176782d84766c4e9ed185 /src/transparency_gui.cpp | |
parent | 645b6ce77345867fa96861843197481131566c46 (diff) | |
download | openttd-be6c0584240caf420b2475a0be036391e842e8af.tar.xz |
(svn r20211) -Codechange: Indented code should have curly braces around it.
Diffstat (limited to 'src/transparency_gui.cpp')
-rw-r--r-- | src/transparency_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transparency_gui.cpp b/src/transparency_gui.cpp index 18d11593d..5d021f965 100644 --- a/src/transparency_gui.cpp +++ b/src/transparency_gui.cpp @@ -100,8 +100,9 @@ public: uint i; for (i = TTW_WIDGET_BEGIN; i < TTW_WIDGET_END; i++) { const NWidgetBase *nwid = this->GetWidget<NWidgetBase>(i); - if (IsInsideBS(pt.x, nwid->pos_x, nwid->current_x)) + if (IsInsideBS(pt.x, nwid->pos_x, nwid->current_x)) { break; + } } if (i == TTW_WIDGET_LOADING || i == TTW_WIDGET_END) return; |