diff options
author | tron <tron@openttd.org> | 2006-04-07 08:37:39 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-04-07 08:37:39 +0000 |
commit | dec2db09eec61371a924bea099a4386ad8414ef4 (patch) | |
tree | 0c13fab0f9f0d3cb97c98e9ba4148f190bbba4fb /network_gui.c | |
parent | fc8d7f18a02fbb522a458937bd1b535bb3749752 (diff) | |
download | openttd-dec2db09eec61371a924bea099a4386ad8414ef4.tar.xz |
(svn r4310) The chat box has no visible window title, therefore remove the string
Diffstat (limited to 'network_gui.c')
-rw-r--r-- | network_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c index 92444572d..c29151d80 100644 --- a/network_gui.c +++ b/network_gui.c @@ -1545,7 +1545,7 @@ static const WindowDesc _chat_window_desc = { ChatWindowWndProc }; -void ShowChatWindow(StringID caption, int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number) +void ShowChatWindow(int maxlen, int maxwidth, WindowClass window_class, WindowNumber window_number) { Window *w; @@ -1556,7 +1556,7 @@ void ShowChatWindow(StringID caption, int maxlen, int maxwidth, WindowClass wind w = AllocateWindowDesc(&_chat_window_desc); w->click_state = 1 << 1; - WP(w,querystr_d).caption = caption; + WP(w,querystr_d).caption = STR_NULL; WP(w,querystr_d).wnd_class = window_class; WP(w,querystr_d).wnd_num = window_number; WP(w,querystr_d).text.caret = false; |