diff options
author | rubidium <rubidium@openttd.org> | 2006-08-28 18:53:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-28 18:53:03 +0000 |
commit | 27cee58ab823cbab0ab8905ce7b52143de7ca5e5 (patch) | |
tree | 9de9b15a15bde4d4e092c3abfde1fae7eb2d76f0 /roadveh_gui.c | |
parent | 8cc7aa9aa03d67ee59fcbf60dfb4d0cd407d3f3d (diff) | |
download | openttd-27cee58ab823cbab0ab8905ce7b52143de7ca5e5.tar.xz |
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r-- | roadveh_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c index 3fad036e5..0eda48dae 100644 --- a/roadveh_gui.c +++ b/roadveh_gui.c @@ -656,7 +656,7 @@ static void DrawRoadDepotWindow(Window *w) FOR_ALL_VEHICLES(v) { if (v->type == VEH_Road && IsRoadVehInDepot(v) && v->tile == tile && - --num < 0 && num >= -w->vscroll.cap * w->hscroll.cap) { + --num < 0 && num >= -w->vscroll.cap * w->hscroll.cap) { DrawRoadVehImage(v, x+24, y, WP(w,traindepot_d).sel); SetDParam(0, v->unitnumber); @@ -1053,7 +1053,7 @@ static void PlayerRoadVehWndProc(Window *w, WindowEvent *e) if (id_v >= vl->list_length) return; // click out of list bound - v = vl->sort_list[id_v]; + v = vl->sort_list[id_v]; assert(v->type == VEH_Road && v->owner == owner); @@ -1161,6 +1161,6 @@ void ShowPlayerRoadVehicles(PlayerID player, StationID station) void ShowVehWithSharedOrdersRoadVehicles(Vehicle *v) { - if (v->orders == NULL) return; // no shared list to show + if (v->orders == NULL) return; // no shared list to show ShowPlayerRoadVehiclesLocal(v->owner, INVALID_STATION, v->orders->index, true); } |