mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 04:04:09 +01:00
Codechange: use std::string_view for ini_key
This commit is contained in:
@@ -975,14 +975,14 @@ struct GenerateLandscapeWindow : public Window {
|
||||
};
|
||||
|
||||
static WindowDesc _generate_landscape_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WDP_CENTER, {}, 0, 0,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
{},
|
||||
_nested_generate_landscape_widgets
|
||||
);
|
||||
|
||||
static WindowDesc _heightmap_load_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WDP_CENTER, {}, 0, 0,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
{},
|
||||
_nested_heightmap_load_widgets
|
||||
@@ -1282,7 +1282,7 @@ static constexpr NWidgetPart _nested_create_scenario_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _create_scenario_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WDP_CENTER, {}, 0, 0,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
{},
|
||||
_nested_create_scenario_widgets
|
||||
@@ -1308,7 +1308,7 @@ static constexpr NWidgetPart _nested_generate_progress_widgets[] = {
|
||||
|
||||
|
||||
static WindowDesc _generate_progress_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WDP_CENTER, {}, 0, 0,
|
||||
WC_MODAL_PROGRESS, WC_NONE,
|
||||
WindowDefaultFlag::NoClose,
|
||||
_nested_generate_progress_widgets
|
||||
|
||||
Reference in New Issue
Block a user