summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-16 20:17:27 +0000
committerrubidium <rubidium@openttd.org>2009-11-16 20:17:27 +0000
commitcb3c4f2ebe01b91562ecf21b56742e31b4086d91 (patch)
treed974f77b3507bbaecbf94b0b351436bbe1fb6627 /src
parentd01dabcd28caef5d2f36283c85dea9cd7fee0c45 (diff)
downloadopenttd-cb3c4f2ebe01b91562ecf21b56742e31b4086d91.tar.xz
(svn r18125) -Fix: the waypoint/buoy window had the wrong text colour in their title
Diffstat (limited to 'src')
-rw-r--r--src/lang/english.txt1
-rw-r--r--src/waypoint_gui.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 8695acdd1..81c80027a 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -2479,6 +2479,7 @@ STR_STATION_VIEW_SCHEDULED_SHIPS_TOOLTIP :{BLACK}Show all
STR_STATION_VIEW_RENAME_STATION_CAPTION :Rename station/loading area
# Waypoint/buoy view window
+STR_WAYPOINT_VIEW_CAPTION :{WHITE}{WAYPOINT}
STR_WAYPOINT_VIEW_CENTER_TOOLTIP :{BLACK}Centre main view on waypoint location. Ctrl+Click opens a new viewport on waypoint location
STR_WAYPOINT_VIEW_CHANGE_WAYPOINT_NAME :{BLACK}Change waypoint name
STR_BUOY_VIEW_CENTER_TOOLTIP :{BLACK}Centre main view on buoy location. Ctrl+Click opens a new viewport on buoy location
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index 6a30251d5..9bcb68696 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -126,7 +126,7 @@ public:
static const NWidgetPart _nested_waypoint_view_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_GREY, WAYPVW_CLOSEBOX),
- NWidget(WWT_CAPTION, COLOUR_GREY, WAYPVW_CAPTION), SetDataTip(STR_VIEWPORT_WAYPOINT, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
+ NWidget(WWT_CAPTION, COLOUR_GREY, WAYPVW_CAPTION), SetDataTip(STR_WAYPOINT_VIEW_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_STICKYBOX, COLOUR_GREY, WAYPVW_STICKY),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_GREY, WAYPVW_VIEWPORTPANEL),