summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-05-09 08:02:17 +0000
committeralberth <alberth@openttd.org>2009-05-09 08:02:17 +0000
commit977db77921bf94a4fdcafc3053b2f99defd579b1 (patch)
tree4acf363bc9b31f426a1a7c147c443683a98cf5d2
parent8fc723800fc2f05eb91399024306b6e98f4f5d02 (diff)
downloadopenttd-977db77921bf94a4fdcafc3053b2f99defd579b1.tar.xz
(svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length.
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index fb9ea8f09..e50335603 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1717,7 +1717,7 @@ static const WindowDesc _client_list_desc(
WDP_AUTO, WDP_AUTO, 250, 1, 250, 1,
WC_CLIENT_LIST, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
- _client_list_widgets, _nested_client_list_widgets, lengthof(_client_list_widgets)
+ _client_list_widgets, _nested_client_list_widgets, lengthof(_nested_client_list_widgets)
);
/* Finds the Xth client-info that is active */