(svn r6519) -Code cleanup r6518: changed a line to apply to the coding style
authorbjarni
Wed, 27 Sep 2006 08:06:40 +0000
changeset 4643 4218cb73b367
parent 4642 486900e9288d
child 4644 c9e977fc9193
(svn r6519) -Code cleanup r6518: changed a line to apply to the coding style
vehicle_gui.c
--- a/vehicle_gui.c	Wed Sep 27 07:23:38 2006 +0000
+++ b/vehicle_gui.c	Wed Sep 27 08:06:40 2006 +0000
@@ -294,8 +294,7 @@
 							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;
 			}