summaryrefslogtreecommitdiff
path: root/widget.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-02 22:28:56 +0000
committerbjarni <bjarni@openttd.org>2005-01-02 22:28:56 +0000
commit6a6cbdd9b45318f30497b07040aa7897e3aeded3 (patch)
treec5ccaaacedf5631f9c903bf50bcac8893a061ba1 /widget.c
parentefc2702491dde25a05945b713ba0fbdf9bd41d0f (diff)
downloadopenttd-6a6cbdd9b45318f30497b07040aa7897e3aeded3.tar.xz
(svn r1326) fixed compiler warnings in vehicle_gui.c and widget.c
Diffstat (limited to 'widget.c')
-rw-r--r--widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widget.c b/widget.c
index 9f998df45..708c33ebb 100644
--- a/widget.c
+++ b/widget.c
@@ -76,6 +76,7 @@ void ScrollbarClickHandler(Window *w, const Widget *wi, int x, int y)
pos = x;
sb = &w->hscroll;
}
+ default: return; //this should never happen
}
if (pos <= mi+9) {
// Pressing the upper button?