From 3235b7407fc806ae0b0c2287ce3be31814abf2f0 Mon Sep 17 00:00:00 2001 From: bjarni Date: Thu, 31 Aug 2006 18:33:05 +0000 Subject: (svn r6283) -Code cleanup: fixed wrong indent in PlayerVehWndProc() --- vehicle_gui.c | 20 ++++++++++---------- 1 file 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; } -- cgit v1.2.3-70-g09d2