summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-21 01:42:21 +0000
committerbelugas <belugas@openttd.org>2008-08-21 01:42:21 +0000
commitd3dd9c65660756ceb40a148f3ab21046aa325f63 (patch)
treecb2106d025bd57b8c678d00d7d3c2f753e016772 /src
parentc4f5d419c02bf03b6e41b30c7c6abe0cd8206ceb (diff)
downloadopenttd-d3dd9c65660756ceb40a148f3ab21046aa325f63.tar.xz
(svn r14118) -Fix(r14104): typos creeping like bugs
Diffstat (limited to 'src')
-rw-r--r--src/vehicle_gui.cpp6
-rw-r--r--src/vehicle_gui.h2
-rw-r--r--src/vehiclelist.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index d2e262666..6ccc7ce79 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -800,7 +800,7 @@ struct VehicleListWindow : public Window, public VehicleListBase {
}
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, public VehicleListBase {
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 player, VehicleType vehicle_type)
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)
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index a6c35cdc7..1d11b349a 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -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,
};
diff --git a/src/vehiclelist.cpp b/src/vehiclelist.cpp
index 14798b655..46762b247 100644
--- a/src/vehiclelist.cpp
+++ b/src/vehiclelist.cpp
@@ -67,7 +67,7 @@ void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine
* <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 *list, VehicleType type, PlayerID owner
}
break;
- case VLM_WAYPOINT_LIST:
+ case VLW_WAYPOINT_LIST:
FOR_ALL_VEHICLES(v) {
if (v->type == type && v->IsPrimaryVehicle()) {
const Order *order;