(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 f771c96958
commit 2e2235e3cf
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, 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);