summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lang/english.txt1
-rw-r--r--src/vehicle_gui.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 64c253b19..290dbbee6 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -1269,6 +1269,7 @@ STR_WAYPOINT :{WHITE}Waypoint
STR_WAYPOINT_GRAPHICS_TIP :{BLACK}Select waypoint type
STR_WAYPOINT_VIEWPORT :{WHITE}{WAYPOINT}
+STR_WAYPOINT_VIEWPORT_LIST :{WHITE}{WAYPOINT} - {COMMA} Train{P "" s}
STR_WAYPOINT_VIEWPORT_TINY :{TINYFONT}{WHITE}{WAYPOINT}
STR_WAYPOINT_RAW :{WAYPOINT}
STR_EDIT_WAYPOINT_NAME :{WHITE}Edit waypoint name
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 821b15413..60f7b85a3 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -801,7 +801,7 @@ struct VehicleListWindow : public Window, public VehicleListBase {
break;
case VLW_WAYPOINT_LIST:
- this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT;
+ this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT_LIST;
break;
case VLW_STATION_LIST: /* Station Name */
@@ -903,6 +903,7 @@ struct VehicleListWindow : public Window, public VehicleListBase {
case VLW_WAYPOINT_LIST:
SetDParam(0, index);
+ SetDParam(1, this->vscroll.count);
break;
case VLW_STATION_LIST: /* Station Name */