forked from mirror/OpenTTD
(svn r17168) -Codechange: apply coding style to if and while statements
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user