Mercurial > hg > openttd
changeset 11888:e9b0ac8343f1 draft
(svn r16288) -Fix (r16237): crash after clicking in the ClientList window
author | smatz <smatz@openttd.org> |
---|---|
date | Wed, 13 May 2009 00:24:21 +0000 |
parents | f0409562d9e2 |
children | 82d734c3721c |
files | src/network/network_gui.cpp |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1934,8 +1934,10 @@ if (NetworkFindClientInfo(client_no) == NULL) return; - const Widget *wid = InitializeWidgetArrayFromNestedWidgets(_nested_client_list_widgets, lengthof(_nested_client_list_widgets), - _client_list_widgets, &generated_client_list_popup_widgets); + const Widget *wid = InitializeWidgetArrayFromNestedWidgets( + _nested_client_list_popup_widgets, lengthof(_nested_client_list_popup_widgets), + _client_list_popup_widgets, &generated_client_list_popup_widgets + ); new NetworkClientListPopupWindow(x, y, wid, client_no); }