summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-07 09:07:53 +0000
committertron <tron@openttd.org>2006-04-07 09:07:53 +0000
commit10454a6dd136e4d0abff667c12256f1761078f22 (patch)
tree5b51a3d0a1e854a6a85712de15b3ef44a75c7e93 /gui.h
parent3ef6afdb4d0f3b4c327e8570c123d487b631d49a (diff)
downloadopenttd-10454a6dd136e4d0abff667c12256f1761078f22.tar.xz
(svn r4314) -Fix: a buffer overflow of the chat box introduced in r1263. Don't tell the Textbuf an arbitrary number as size of the string buffer, but the real lengthof() it
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 f5c024a1d..b291effc7 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);
+void ShowChatWindow(void);
/* bridge_gui.c */
void ShowBuildBridgeWindow(uint start, uint end, byte type);