1
0
Fork 0

(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).

release/0.7
rubidium 2008-04-18 04:54:09 +00:00
parent 9d8fa486af
commit acafc26426
13 changed files with 58 additions and 58 deletions

View File

@ -206,7 +206,7 @@ static void CreateVehicleGroupWindow(Window *w)
w->widget[GRP_WIDGET_LIST_VEHICLE].data = (w->vscroll2.cap << 8) + 1; w->widget[GRP_WIDGET_LIST_VEHICLE].data = (w->vscroll2.cap << 8) + 1;
switch (gv->vehicle_type) { switch (gv->vehicle_type) {
default: NOT_REACHED(); break; default: NOT_REACHED();
case VEH_TRAIN: gv->_sorting = &_sorting.train; break; case VEH_TRAIN: gv->_sorting = &_sorting.train; break;
case VEH_ROAD: gv->_sorting = &_sorting.roadveh; break; case VEH_ROAD: gv->_sorting = &_sorting.roadveh; break;
case VEH_SHIP: gv->_sorting = &_sorting.ship; break; case VEH_SHIP: gv->_sorting = &_sorting.ship; break;
@ -398,7 +398,7 @@ static void GroupWndProc(Window *w, WindowEvent *e)
w->widget[GRP_WIDGET_CAPTION].data = STR_A009_AIRCRAFT; w->widget[GRP_WIDGET_CAPTION].data = STR_A009_AIRCRAFT;
w->widget[GRP_WIDGET_REPLACE_PROTECTION].data = SPR_GROUP_REPLACE_OFF_AIRCRAFT; w->widget[GRP_WIDGET_REPLACE_PROTECTION].data = SPR_GROUP_REPLACE_OFF_AIRCRAFT;
break; break;
default: NOT_REACHED(); break; default: NOT_REACHED();
} }
} else { } else {
const Group *g = GetGroup(gv->group_sel); const Group *g = GetGroup(gv->group_sel);
@ -423,7 +423,7 @@ static void GroupWndProc(Window *w, WindowEvent *e)
w->widget[GRP_WIDGET_CAPTION].data = STR_GROUP_AIRCRAFTS_CAPTION; w->widget[GRP_WIDGET_CAPTION].data = STR_GROUP_AIRCRAFTS_CAPTION;
w->widget[GRP_WIDGET_REPLACE_PROTECTION].data = (g->replace_protection) ? SPR_GROUP_REPLACE_ON_AIRCRAFT : SPR_GROUP_REPLACE_OFF_AIRCRAFT; w->widget[GRP_WIDGET_REPLACE_PROTECTION].data = (g->replace_protection) ? SPR_GROUP_REPLACE_ON_AIRCRAFT : SPR_GROUP_REPLACE_OFF_AIRCRAFT;
break; break;
default: NOT_REACHED(); break; default: NOT_REACHED();
} }
} }
@ -453,7 +453,7 @@ static void GroupWndProc(Window *w, WindowEvent *e)
str_all_veh = STR_GROUP_ALL_AIRCRAFTS; str_all_veh = STR_GROUP_ALL_AIRCRAFTS;
str_no_group_veh = STR_GROUP_DEFAULT_AIRCRAFTS; str_no_group_veh = STR_GROUP_DEFAULT_AIRCRAFTS;
break; break;
default: NOT_REACHED(); break; default: NOT_REACHED();
} }
DrawString(10, y1, str_all_veh, IsAllGroupID(gv->group_sel) ? TC_WHITE : TC_BLACK); DrawString(10, y1, str_all_veh, IsAllGroupID(gv->group_sel) ? TC_WHITE : TC_BLACK);

View File

@ -435,13 +435,13 @@ static void ShowRejectOrAcceptNews(const Station *st, uint num_items, CargoID *c
} }
/** /**
* Get a list of the cargo types being produced around the tile (in a rectangle). * Get a list of the cargo types being produced around the tile (in a rectangle).
* @param produced: Destination array of produced cargo * @param produced: Destination array of produced cargo
* @param tile: Center of the search area * @param tile: Center of the search area
* @param w: Width of the center * @param w: Width of the center
* @param h: Height of the center * @param h: Height of the center
* @param rad: Radius of the search area * @param rad: Radius of the search area
*/ */
void GetProductionAroundTiles(AcceptedCargo produced, TileIndex tile, void GetProductionAroundTiles(AcceptedCargo produced, TileIndex tile,
int w, int h, int rad) int w, int h, int rad)
{ {
@ -484,13 +484,13 @@ void GetProductionAroundTiles(AcceptedCargo produced, TileIndex tile,
} }
/** /**
* Get a list of the cargo types that are accepted around the tile. * Get a list of the cargo types that are accepted around the tile.
* @param accepts: Destination array of accepted cargo * @param accepts: Destination array of accepted cargo
* @param tile: Center of the search area * @param tile: Center of the search area
* @param w: Width of the center * @param w: Width of the center
* @param h: Height of the center * @param h: Height of the center
* @param rad: Radius of the rectangular search area * @param rad: Radius of the rectangular search area
*/ */
void GetAcceptanceAroundTiles(AcceptedCargo accepts, TileIndex tile, void GetAcceptanceAroundTiles(AcceptedCargo accepts, TileIndex tile,
int w, int h, int rad) int w, int h, int rad)
{ {