(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

This commit is contained in:
tron
2006-04-07 09:07:53 +00:00
parent 3ef6afdb4d
commit 10454a6dd1
3 changed files with 4 additions and 4 deletions

2
gui.h
View File

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