diff options
author | smatz <smatz@openttd.org> | 2009-08-14 17:11:59 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-14 17:11:59 +0000 |
commit | c5533ae4708d85dcdff8e53515e17ab593f7f361 (patch) | |
tree | 8fd6af1f0c5acb1263bb85643a19f5516a6822a5 /src/window.cpp | |
parent | 3108ff7ac667edf872ee96c6331f0f45e5253d98 (diff) | |
download | openttd-c5533ae4708d85dcdff8e53515e17ab593f7f361.tar.xz |
(svn r17168) -Codechange: apply coding style to if and while statements
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index 0d46ff644..c9c43aab6 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1869,7 +1869,7 @@ static bool HandleScrollbarScrolling() if (w->flags4 & WF_HSCROLL) { sb = &w->hscroll; i = _cursor.pos.x - _cursorpos_drag_start.x; - } else if (w->flags4 & WF_SCROLL2){ + } else if (w->flags4 & WF_SCROLL2) { sb = &w->vscroll2; i = _cursor.pos.y - _cursorpos_drag_start.y; } else { |