From cb3c4f2ebe01b91562ecf21b56742e31b4086d91 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 16 Nov 2009 20:17:27 +0000 Subject: (svn r18125) -Fix: the waypoint/buoy window had the wrong text colour in their title --- src/lang/english.txt | 1 + src/waypoint_gui.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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), -- cgit v1.2.3-70-g09d2