diff options
author | bjarni <bjarni@openttd.org> | 2006-08-31 18:33:05 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-08-31 18:33:05 +0000 |
commit | 3235b7407fc806ae0b0c2287ce3be31814abf2f0 (patch) | |
tree | 3d851d6ceb1d3e81c1d1656e454f5af848ad1ab3 | |
parent | 3367b2a95be5f617a31bfd4499a425f4d5ba2d62 (diff) | |
download | openttd-3235b7407fc806ae0b0c2287ce3be31814abf2f0.tar.xz |
(svn r6283) -Code cleanup: fixed wrong indent in PlayerVehWndProc()
-rw-r--r-- | vehicle_gui.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index 8d23007f0..38255c4a5 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -1279,21 +1279,21 @@ void PlayerVehWndProc(Window *w, WindowEvent *e) DrawShipImage(v, x + 19, y + 6, INVALID_VEHICLE); DrawString(x + 12, y + 28, STR_0198_PROFIT_THIS_YEAR_LAST_YEAR, 0); if (IsShipInDepot(v)) str = STR_021F; - if (v->string_id != STR_SV_SHIP_NAME) { - SetDParam(0, v->string_id); - DrawString(x + 12, y, STR_01AB, 0); - } - DrawSmallOrderListShip(v, x + 138, y); + if (v->string_id != STR_SV_SHIP_NAME) { + SetDParam(0, v->string_id); + DrawString(x + 12, y, STR_01AB, 0); + } + DrawSmallOrderListShip(v, x + 138, y); break; case VEH_Aircraft: DrawAircraftImage(v, x + 19, y + 6, INVALID_VEHICLE); DrawString(x + 19, y + 28, STR_0198_PROFIT_THIS_YEAR_LAST_YEAR, 0); if (IsAircraftInHangar(v)) str = STR_021F; - if (v->string_id != STR_SV_AIRCRAFT_NAME) { - SetDParam(0, v->string_id); - DrawString(x + 19, y, STR_01AB, 0); - } - DrawSmallOrderListAircraft(v, x + 136, y); + if (v->string_id != STR_SV_AIRCRAFT_NAME) { + SetDParam(0, v->string_id); + DrawString(x + 19, y, STR_01AB, 0); + } + DrawSmallOrderListAircraft(v, x + 136, y); break; default: NOT_REACHED(); break; } |