# HG changeset patch # User bjarni # Date 2006-09-27 08:06:40 # Node ID 1b147675121f50cdb5f516782d4f7ce00f524233 # Parent 20c2c97f04d800a5363fa84b035824ed49526903 (svn r6519) -Code cleanup r6518: changed a line to apply to the coding style diff --git a/vehicle_gui.c b/vehicle_gui.c --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -294,8 +294,7 @@ static void VehicleRefitWndProc(Window * 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; }