From 2e2235e3cf8728d48878601d7dac7abd0037d5a0 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 7 Apr 2006 08:57:03 +0000 Subject: (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 --- 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 9fdc1d4e3..14b4b4960 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(150, 338, 1, 0); + ShowChatWindow(150, 1, 0); } void ShowNetworkGiveMoneyWindow(byte player) -- cgit v1.2.3-54-g00ecf