Changeset - r9963:046dde75bd77
[Not reviewed]
master
0 3 0
belugas - 16 years ago 2008-08-21 01:42:21
belugas@openttd.org
(svn r14118) -Fix(r14104): typos creeping like bugs
3 files changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
src/vehicle_gui.cpp
Show inline comments
 
@@ -800,7 +800,7 @@ struct VehicleListWindow : public Window
 
				}
 
				break;
 

	
 
			case VLM_WAYPOINT_LIST:
 
			case VLW_WAYPOINT_LIST:
 
				this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT;
 
				break;
 

	
 
@@ -899,7 +899,7 @@ struct VehicleListWindow : public Window
 
				SetDParam(1, this->vscroll.count);
 
				break;
 

	
 
			case VLM_WAYPOINT_LIST:
 
			case VLW_WAYPOINT_LIST:
 
				SetDParam(0, index);
 
				break;
 

	
 
@@ -1180,7 +1180,7 @@ void ShowVehicleListWindow(PlayerID play
 
void ShowVehicleListWindow(const Waypoint *wp)
 
{
 
	if (wp == NULL) return;
 
	ShowVehicleListWindowLocal(GetTileOwner(wp->xy), VLM_WAYPOINT_LIST, VEH_TRAIN, wp->index);
 
	ShowVehicleListWindowLocal(GetTileOwner(wp->xy), VLW_WAYPOINT_LIST, VEH_TRAIN, wp->index);
 
}
 

	
 
void ShowVehicleListWindow(const Vehicle *v)
src/vehicle_gui.h
Show inline comments
 
@@ -52,7 +52,7 @@ enum {
 
	VLW_STATION_LIST  = 2 << 8,
 
	VLW_DEPOT_LIST    = 3 << 8,
 
	VLW_GROUP_LIST    = 4 << 8,
 
	VLM_WAYPOINT_LIST = 5 << 8,
 
	VLW_WAYPOINT_LIST = 5 << 8,
 
	VLW_MASK          = 0x700,
 
};
 

	
src/vehiclelist.cpp
Show inline comments
 
@@ -67,7 +67,7 @@ void BuildDepotVehicleList(VehicleType t
 
 *      <li>VLW_STANDARD: not used<li>
 
 *      <li>VLW_DEPOT_LIST: TileIndex of the depot/hangar to make the list for</li>
 
 *      <li>VLW_GROUP_LIST: index of group to generate a list for</li>
 
 *      <li>VLM_WAYPOINT_LIST: index of waypoint to generate a list for</li>
 
 *      <li>VLW_WAYPOINT_LIST: index of waypoint to generate a list for</li>
 
 *    </ul>
 
 * @param window_type The type of window the list is for, using the VLW_ flags in vehicle_gui.h
 
 */
 
@@ -123,7 +123,7 @@ void GenerateVehicleSortList(VehicleList
 
			}
 
			break;
 

	
 
		case VLM_WAYPOINT_LIST:
 
		case VLW_WAYPOINT_LIST:
 
			FOR_ALL_VEHICLES(v) {
 
				if (v->type == type && v->IsPrimaryVehicle()) {
 
					const Order *order;
0 comments (0 inline, 0 general)