summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-07 08:57:03 +0000
committertron <tron@openttd.org>2006-04-07 08:57:03 +0000
commit2e2235e3cf8728d48878601d7dac7abd0037d5a0 (patch)
tree8d113f13e84e0399a884f5905236ab2989aa839e /gui.h
parentf771c969586efd04f19252e5cd8494f4c5c125b8 (diff)
downloadopenttd-2e2235e3cf8728d48878601d7dac7abd0037d5a0.tar.xz
(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
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.h b/gui.h
index 6b077fe52..568e350e3 100644
--- a/gui.h
+++ b/gui.h
@@ -124,7 +124,7 @@ extern const byte _fios_colors[];
/* network gui */
void ShowNetworkGameWindow(void);
-void ShowChatWindow(int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number);
+void ShowChatWindow(int maxlen, WindowClass window_class, WindowNumber window_number);
/* bridge_gui.c */
void ShowBuildBridgeWindow(uint start, uint end, byte type);