diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-24 22:19:12 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-24 22:19:12 +0000 |
commit | a28048a4ea33667720f1c2dab24fafb32cae39e5 (patch) | |
tree | ce3b39baf2cb4bc634febfbd26bcaf15dd2401ea /network_gui.c | |
parent | c4ac95efa82b52685a90294bc7c6515a0440e304 (diff) | |
download | openttd-a28048a4ea33667720f1c2dab24fafb32cae39e5.tar.xz |
(svn r6931) -Codechange: Change textmessage format a bit. Only the sender's name and target are
in the sender's colour, the actual message is in white. Should improve readability.
Diffstat (limited to 'network_gui.c')
-rw-r--r-- | network_gui.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/network_gui.c b/network_gui.c index 3b55b3aad..a51cc78b0 100644 --- a/network_gui.c +++ b/network_gui.c @@ -1632,9 +1632,9 @@ static void ChatWindowWndProc(Window *w, WindowEvent *e) case WE_PAINT: { static const StringID chat_captions[] = { - STR_NETWORK_CHAT_ALL, - STR_NETWORK_CHAT_COMPANY, - STR_NETWORK_CHAT_CLIENT + STR_NETWORK_CHAT_ALL_CAPTION, + STR_NETWORK_CHAT_COMPANY_CAPTION, + STR_NETWORK_CHAT_CLIENT_CAPTION }; StringID msg; @@ -1642,7 +1642,6 @@ static void ChatWindowWndProc(Window *w, WindowEvent *e) assert(GB(WP(w, querystr_d).caption, 0, 8) < lengthof(chat_captions)); msg = chat_captions[GB(WP(w, querystr_d).caption, 0, 8)]; - SetDParam(0, STR_EMPTY); DrawStringRightAligned(w->widget[2].left - 2, w->widget[2].top + 1, msg, 16); DrawEditBox(w, &WP(w, querystr_d), 2); } break; |