(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

This commit is contained in:
tron
2006-04-07 08:27:43 +00:00
parent 025584ae26
commit fc8d7f18a0
3 changed files with 6 additions and 15 deletions

View File

@@ -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)