summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-07 08:27:43 +0000
committertron <tron@openttd.org>2006-04-07 08:27:43 +0000
commitfc8d7f18a02fbb522a458937bd1b535bb3749752 (patch)
tree5ef7d3d086717c162ceb7115664be731f27eaa8f /main_gui.c
parent025584ae26e4e8d557a4d11fcb74583beb445f91 (diff)
downloadopenttd-fc8d7f18a02fbb522a458937bd1b535bb3749752.tar.xz
(svn r4309) The initial string of the chat box is always the empty string, so don't jump through hoops to check if nothing was entered and simplify the code
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 3e9fbd908..a0fcf5652 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -332,7 +332,7 @@ void ShowNetworkChatQueryWindow(byte desttype, byte dest)
{
_rename_id = desttype + (dest << 8);
_rename_what = 2;
- ShowChatWindow(STR_EMPTY, STR_NETWORK_CHAT_QUERY_CAPTION, 150, 338, 1, 0);
+ ShowChatWindow(STR_NETWORK_CHAT_QUERY_CAPTION, 150, 338, 1, 0);
}
void ShowNetworkGiveMoneyWindow(byte player)