summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-02-16 18:11:56 +0100
committerglx22 <glx22@users.noreply.github.com>2019-02-16 22:19:16 +0100
commit7c31a32c2b3d0e5d64d9f543c1863b64c8ea05c2 (patch)
tree6e422f9b023e875e5f4ab68d05a6833a28a5b13a /src
parent4919c8db139c0ee626ae92f8ed5fc2106229791f (diff)
downloadopenttd-7c31a32c2b3d0e5d64d9f543c1863b64c8ea05c2.tar.xz
Fix: colour of network specific strings in company dropdown menus
Diffstat (limited to 'src')
-rw-r--r--src/lang/english.txt7
-rw-r--r--src/network/network_gui.cpp2
2 files changed, 5 insertions, 4 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 856ca2f81..8f0da8c0c 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -2081,11 +2081,12 @@ STR_NETWORK_CONNECTION_DISCONNECT :{BLACK}Disconne
STR_NETWORK_NEED_GAME_PASSWORD_CAPTION :{WHITE}Server is protected. Enter password
STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION :{WHITE}Company is protected. Enter password
+STR_NETWORK_COMPANY_LIST_CLIENT_LIST_CAPTION :{WHITE}Client list
# Network company list added strings
-STR_NETWORK_COMPANY_LIST_CLIENT_LIST :{WHITE}Client list
-STR_NETWORK_COMPANY_LIST_SPECTATE :{WHITE}Spectate
-STR_NETWORK_COMPANY_LIST_NEW_COMPANY :{WHITE}New company
+STR_NETWORK_COMPANY_LIST_CLIENT_LIST :Client list
+STR_NETWORK_COMPANY_LIST_SPECTATE :Spectate
+STR_NETWORK_COMPANY_LIST_NEW_COMPANY :New company
# Network client list
STR_NETWORK_CLIENTLIST_KICK :Kick
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 65ecb3b99..93cd3d973 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1850,7 +1850,7 @@ static void PopupClientList(ClientID client_id, int x, int y)
static const NWidgetPart _nested_client_list_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_GREY),
- NWidget(WWT_CAPTION, COLOUR_GREY), SetDataTip(STR_NETWORK_COMPANY_LIST_CLIENT_LIST, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
+ NWidget(WWT_CAPTION, COLOUR_GREY), SetDataTip(STR_NETWORK_COMPANY_LIST_CLIENT_LIST_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_STICKYBOX, COLOUR_GREY),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_GREY, WID_CL_PANEL), SetMinimalSize(250, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM), SetResize(1, 1), EndContainer(),