summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
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
commita91c0785268be55550fa6b0a0d0da0c1e088eeb0 (patch)
treecb2106d025bd57b8c678d00d7d3c2f753e016772 /src/vehicle_gui.cpp
parent3efed2ae6eb3f12f24b1aac989780c62d048f0ee (diff)
downloadopenttd-a91c0785268be55550fa6b0a0d0da0c1e088eeb0.tar.xz
(svn r14118) -Fix(r14104): typos creeping like bugs
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp6
1 files changed, 3 insertions, 3 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)