(svn r16288) -Fix (r16237): crash after clicking in the ClientList window

This commit is contained in:
smatz 2009-05-13 00:24:21 +00:00
parent da1f2295c4
commit d87206b6f7

View File

@ -1934,8 +1934,10 @@ static void PopupClientList(int client_no, int x, int y)
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);
}