summaryrefslogtreecommitdiff
path: root/ship_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
commit27cee58ab823cbab0ab8905ce7b52143de7ca5e5 (patch)
tree9de9b15a15bde4d4e092c3abfde1fae7eb2d76f0 /ship_gui.c
parent8cc7aa9aa03d67ee59fcbf60dfb4d0cd407d3f3d (diff)
downloadopenttd-27cee58ab823cbab0ab8905ce7b52143de7ca5e5.tar.xz
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Diffstat (limited to 'ship_gui.c')
-rw-r--r--ship_gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ship_gui.c b/ship_gui.c
index 8826f1105..9647d972b 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -383,7 +383,7 @@ static void NewShipWndProc(Window *w, WindowEvent *e)
DoCommandP(w->window_number, sel_eng, 0, CcBuildShip, CMD_BUILD_SHIP | CMD_MSG(STR_980D_CAN_T_BUILD_SHIP));
} break;
- case 6: { /* rename */
+ case 6: { /* rename */
EngineID sel_eng = WP(w,buildtrain_d).sel_engine;
if (sel_eng != INVALID_ENGINE) {
WP(w,buildtrain_d).rename_engine = sel_eng;
@@ -828,7 +828,7 @@ static void ShipDepotWndProc(Window *w, WindowEvent *e)
case 4:
if (!HASBIT(w->disabled_state, 4) &&
- WP(w,traindepot_d).sel != INVALID_VEHICLE) {
+ WP(w,traindepot_d).sel != INVALID_VEHICLE) {
Vehicle *v;
HandleButtonClick(w, 4);
@@ -1066,7 +1066,7 @@ static void PlayerShipsWndProc(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_Ship);
@@ -1175,6 +1175,6 @@ void ShowPlayerShips(PlayerID player, StationID station)
void ShowVehWithSharedOrdersShips(Vehicle *v)
{
- if (v->orders == NULL) return; // no shared list to show
+ if (v->orders == NULL) return; // no shared list to show
ShowPlayerShipsLocal(v->owner, INVALID_STATION, v->orders->index, true);
}