summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-07 08:27:43 +0000
committertron <tron@openttd.org>2006-04-07 08:27:43 +0000
commit98b51c36e201904a9b4ac8ca25ef9a257bdf172e (patch)
tree5ef7d3d086717c162ceb7115664be731f27eaa8f /gui.h
parenta251b9373f2b272d2891ddc7bcaafd0f176b2120 (diff)
downloadopenttd-98b51c36e201904a9b4ac8ca25ef9a257bdf172e.tar.xz
(svn r4309) The initial string of the chat box is always the empty string, so don't jump through hoops to check if nothing was entered and simplify the code
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 8b37b64a9..68d385eb3 100644
--- a/gui.h
+++ b/gui.h
@@ -124,7 +124,7 @@ extern const byte _fios_colors[];
/* network gui */
void ShowNetworkGameWindow(void);
-void ShowChatWindow(StringID str, StringID caption, int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number);
+void ShowChatWindow(StringID caption, int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number);
/* bridge_gui.c */
void ShowBuildBridgeWindow(uint start, uint end, byte type);