summaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-15 08:58:31 +0000
committertron <tron@openttd.org>2005-01-15 08:58:31 +0000
commit3279a7c9a26242f5f0a8e4b41ae6e2d9e24ee169 (patch)
treee70312993e66c5b848feb30831527cca401c08f8 /window.c
parent7f7c6297f7bb6bb225741773a5438a916a91da08 (diff)
downloadopenttd-3279a7c9a26242f5f0a8e4b41ae6e2d9e24ee169.tar.xz
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.c b/window.c
index 96f5a1902..9b18ee671 100644
--- a/window.c
+++ b/window.c
@@ -104,10 +104,10 @@ void DispatchMouseWheelEvent(Window *w, uint widget, int wheel)
Scrollbar *sb;
/* The listbox can only scroll if scrolling was done on the scrollbar itself,
- * or on the listbox (and the next item is (must be) the scrollbar)
+ * or on the listbox (and the next item is (must be) the scrollbar)
* XXX - should be rewritten as a widget-dependent scroller but that's
* not happening until someone rewrites the whole widget-code */
- if ((sb = &w->vscroll, wi1->type == WWT_SCROLLBAR) || (sb = &w->vscroll2, wi1->type == WWT_SCROLL2BAR) ||
+ if ((sb = &w->vscroll, wi1->type == WWT_SCROLLBAR) || (sb = &w->vscroll2, wi1->type == WWT_SCROLL2BAR) ||
(sb = &w->vscroll2, wi2->type == WWT_SCROLL2BAR) || (sb = &w->vscroll, wi2->type == WWT_SCROLLBAR) ) {
if (sb->count > sb->cap) {