From 98c23dac75f159626f330908cd4311df6819252b Mon Sep 17 00:00:00 2001 From: bjarni Date: Wed, 27 Sep 2006 08:06:40 +0000 Subject: [PATCH] (svn r6519) -Code cleanup r6518: changed a line to apply to the coding style --- vehicle_gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vehicle_gui.c b/vehicle_gui.c index 41e1839576..21b7531ccd 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -294,8 +294,7 @@ static void VehicleRefitWndProc(Window *w, WindowEvent *e) case VEH_Ship: command = CMD_REFIT_SHIP | CMD_MSG(STR_9841_CAN_T_REFIT_SHIP); break; case VEH_Aircraft: command = CMD_REFIT_AIRCRAFT | CMD_MSG(STR_A042_CAN_T_REFIT_AIRCRAFT); break; } - if (DoCommandP(v->tile, v->index, WP(w,refit_d).cargo, NULL, command)) - DeleteWindow(w); + if (DoCommandP(v->tile, v->index, WP(w,refit_d).cargo, NULL, command)) DeleteWindow(w); } break; }