From 98b51c36e201904a9b4ac8ca25ef9a257bdf172e Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 7 Apr 2006 08:27:43 +0000 Subject: (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 --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') 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) -- cgit v1.2.3-54-g00ecf