diff options
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; |