summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-05-05 20:33:05 +0000
committeralberth <alberth@openttd.org>2009-05-05 20:33:05 +0000
commit4d3f8bbb9780ea92538b622ba8530f2b56bd6f3c (patch)
treedd5fb419b0229fd0316d5983cbab89e14b922f31 /src/network
parent6d783983e776791555baa215aa83883ea85c6266 (diff)
downloadopenttd-4d3f8bbb9780ea92538b622ba8530f2b56bd6f3c.tar.xz
(svn r16235) -Codechange (r16234): But keep the window description.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_chat_gui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index c044bcfca..c0559af65 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -514,6 +514,13 @@ static const NWidgetPart _nested_chat_window_widgets[] = {
EndContainer(),
};
+static const WindowDesc _chat_window_desc(
+ WDP_CENTER, -26, 320, 14, 640, 14, // x, y, width, height
+ WC_SEND_NETWORK_MSG, WC_NONE,
+ WDF_STD_TOOLTIPS | WDF_DEF_WIDGET,
+ _chat_window_widgets, _nested_chat_window_widgets, lengthof(_nested_chat_window_widgets)
+);
+
void ShowNetworkChatQueryWindow(DestType type, int dest)
{
DeleteWindowById(WC_SEND_NETWORK_MSG, 0);