From 29564f9fcfc6e2dffb7afa196dbcabb04c99bee7 Mon Sep 17 00:00:00 2001 From: ludde Date: Mon, 1 Aug 2005 16:31:19 +0000 Subject: (svn r2781) Fix some of the issues with variables in .h files. --- ship_gui.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ship_gui.c') diff --git a/ship_gui.c b/ship_gui.c index 5a5872f28..ecd44cb13 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -511,7 +511,7 @@ static void ShipViewWndProc(Window *w, WindowEvent *e) { case OT_LEAVESTATION: str = STR_882F_LOADING_UNLOADING; break; - + default: if (v->num_orders == 0) { str = STR_NO_ORDERS + _patches.vehicle_speed; @@ -792,11 +792,11 @@ static void ShipDepotWndProc(Window *w, WindowEvent *e) { ResetObjectToPlace(); ShowBuildShipWindow(w->window_number); break; - + case 8: /* clone button */ InvalidateWidget(w, 8); TOGGLEBIT(w->click_state, 8); - + if (HASBIT(w->click_state, 8)) { _place_clicked_vehicle = NULL; SetObjectToPlaceWnd(SPR_CURSOR_CLONE, VHM_RECT, w); @@ -811,7 +811,7 @@ static void ShipDepotWndProc(Window *w, WindowEvent *e) { break; } break; - + case WE_PLACE_OBJ: { //ClonePlaceObj(e->place.tile, w); ClonePlaceObj(w->window_number, w); @@ -821,7 +821,7 @@ static void ShipDepotWndProc(Window *w, WindowEvent *e) { CLRBIT(w->click_state, 8); InvalidateWidget(w, 8); } break; - + // check if a vehicle in a depot was clicked.. case WE_MOUSELOOP: { Vehicle *v = _place_clicked_vehicle; -- cgit v1.2.3-70-g09d2