summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-28 18:53:03 +0000
committerrubidium <rubidium@openttd.org>2006-08-28 18:53:03 +0000
commit86dc219b4b668913b2deb90bf7ddfe0a479e3acd (patch)
tree9de9b15a15bde4d4e092c3abfde1fae7eb2d76f0 /roadveh_gui.c
parentd8644d941d4205cb95890f84165c787872b36da5 (diff)
downloadopenttd-86dc219b4b668913b2deb90bf7ddfe0a479e3acd.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.c6
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);
}