(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
This commit is contained in:
@@ -707,7 +707,7 @@ static const NWidgetPart _nested_company_stations_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _company_stations_desc(
|
||||
WDP_AUTO, WDP_AUTO, 358, 162,
|
||||
WDP_AUTO, 358, 162,
|
||||
WC_STATION_LIST, WC_NONE,
|
||||
0,
|
||||
_nested_company_stations_widgets, lengthof(_nested_company_stations_widgets)
|
||||
@@ -1165,7 +1165,7 @@ struct StationViewWindow : public Window {
|
||||
|
||||
|
||||
static const WindowDesc _station_view_desc(
|
||||
WDP_AUTO, WDP_AUTO, 249, 110,
|
||||
WDP_AUTO, 249, 110,
|
||||
WC_STATION_VIEW, WC_NONE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_station_view_widgets, lengthof(_nested_station_view_widgets)
|
||||
@@ -1412,7 +1412,7 @@ struct SelectStationWindow : Window {
|
||||
};
|
||||
|
||||
static const WindowDesc _select_station_desc(
|
||||
WDP_AUTO, WDP_AUTO, 200, 180,
|
||||
WDP_AUTO, 200, 180,
|
||||
WC_SELECT_STATION, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_select_station_widgets, lengthof(_nested_select_station_widgets)
|
||||
|
Reference in New Issue
Block a user