summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-19 16:57:04 +0000
committerrubidium <rubidium@openttd.org>2009-07-19 16:57:04 +0000
commit21921441d0648955b1f9bb51975607cc06060fbe (patch)
treed048f07d2c3f40e4edc032376a9efe8fbc9cd3e9 /src/vehicle_gui.cpp
parent42e1bdacbc700fe9b5c0ef6c7298efda182bef1d (diff)
downloadopenttd-21921441d0648955b1f9bb51975607cc06060fbe.tar.xz
(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 4cd80de46..63d877c6a 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -916,7 +916,7 @@ struct VehicleListWindow : public BaseVehicleListWindow {
case VLW_STANDARD: // Company Name - standard widget setup
switch (this->vehicle_type) {
- case VEH_TRAIN: this->widget[VLW_WIDGET_CAPTION].data = STR_VEHICLE_LIST_CAPTION_TRAINS; break;
+ case VEH_TRAIN: this->widget[VLW_WIDGET_CAPTION].data = STR_VEHICLE_LIST_TRAIN_CAPTION; break;
case VEH_ROAD: this->widget[VLW_WIDGET_CAPTION].data = STR_VEHICLE_LIST_ROAD_CAPTION; break;
case VEH_SHIP: this->widget[VLW_WIDGET_CAPTION].data = STR_VEHICLE_LIST_SHIP_CAPTION; break;
case VEH_AIRCRAFT: this->widget[VLW_WIDGET_CAPTION].data = STR_VEHICLE_LIST_AIRCRAFT_CAPTION; break;
@@ -925,7 +925,7 @@ struct VehicleListWindow : public BaseVehicleListWindow {
break;
case VLW_WAYPOINT_LIST:
- this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT_LIST;
+ this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT_LIST_TRAIN;
break;
case VLW_STATION_LIST: // Station Name