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
commita1a5790014d5748b20908695c5ff3641183c9c03 (patch)
treec5ccaaacedf5631f9c903bf50bcac8893a061ba1 /widget.c
parent3dd82d576b7929e5c18a7cb3fffbaa2b63d6b338 (diff)
downloadopenttd-a1a5790014d5748b20908695c5ff3641183c9c03.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?