From 84fb96fe85e75b038b527471428189170021f8b7 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 1 Feb 2006 07:36:15 +0000 Subject: (svn r3511) More whitespace ([FS#46] by Rubidium) --- ship_gui.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ship_gui.c') diff --git a/ship_gui.c b/ship_gui.c index 19aaa1153..f8f154ed1 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -369,7 +369,7 @@ static void NewShipWndProc(Window *w, WindowEvent *e) break; case WE_CLICK: - switch(e->click.widget) { + switch (e->click.widget) { case 2: { /* listbox */ uint i = (e->click.pt.y - 14) / 24; if (i < w->vscroll.cap) { @@ -460,7 +460,7 @@ static void ShowBuildShipWindow(TileIndex tile) static void ShipViewWndProc(Window *w, WindowEvent *e) { - switch(e->event) { + switch (e->event) { case WE_PAINT: { Vehicle *v = GetVehicle(w->window_number); uint32 disabled = 1<<8; @@ -763,7 +763,7 @@ static void ShipDepotWndProc(Window* w, WindowEvent* e) break; case WE_CLICK: - switch(e->click.widget) { + switch (e->click.widget) { case 5: ShipDepotClick(w, e->click.pt.x, e->click.pt.y); break; @@ -817,7 +817,7 @@ static void ShipDepotWndProc(Window* w, WindowEvent* e) break; case WE_DRAGDROP: - switch(e->click.widget) { + switch (e->click.widget) { case 5: { Vehicle *v; VehicleID sel = WP(w,traindepot_d).sel; @@ -970,7 +970,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e) PlayerID owner = GB(w->window_number, 0, 8); vehiclelist_d *vl = &WP(w, vehiclelist_d); - switch(e->event) { + switch (e->event) { case WE_PAINT: { int x = 2; int y = PLY_WND_PRC__OFFSET_TOP_WIDGET; @@ -1041,7 +1041,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e) } break; case WE_CLICK: { - switch(e->click.widget) { + switch (e->click.widget) { case 3: /* Flip sorting method ascending/descending */ vl->flags ^= VL_DESC; vl->flags |= VL_RESORT; @@ -1085,7 +1085,7 @@ static void PlayerShipsWndProc(Window *w, WindowEvent *e) } tile = TILE_MASK(tile + 1); - } while(tile != _last_built_ship_depot_tile); + } while (tile != _last_built_ship_depot_tile); ShowBuildShipWindow(0); } break; -- cgit v1.2.3-70-g09d2