(svn r4312) Calculate the maximum pixel width of the entered text in the chat box from the "text box"-widget instead of hardcoding an arbitrary - and wrong - number

This commit is contained in:
tron
2006-04-07 08:57:03 +00:00
parent fd097af20e
commit 7a7e7c82cf
3 changed files with 4 additions and 4 deletions

View File

@@ -332,7 +332,7 @@ void ShowNetworkChatQueryWindow(byte desttype, byte dest)
{
_rename_id = desttype + (dest << 8);
_rename_what = 2;
ShowChatWindow(150, 338, 1, 0);
ShowChatWindow(150, 1, 0);
}
void ShowNetworkGiveMoneyWindow(byte player)