Mercurial > hg > openttd
changeset 4643:ceb48aeb9978 draft
(svn r6519) -Code cleanup r6518: changed a line to apply to the coding style
author | bjarni <bjarni@openttd.org> |
---|---|
date | Wed, 27 Sep 2006 08:06:40 +0000 |
parents | 6e83bb728de8 |
children | 619da0673499 |
files | vehicle_gui.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -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; }