(svn r1326) fixed compiler warnings in vehicle_gui.c and widget.c

This commit is contained in:
bjarni
2005-01-02 22:28:56 +00:00
parent efc2702491
commit 6a6cbdd9b4
2 changed files with 43 additions and 41 deletions

View File

@@ -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?