1
0
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:
Rubidium
2025-05-01 17:07:46 +02:00
committed by rubidium42
parent d958d50985
commit 7805c1c189
33 changed files with 65 additions and 66 deletions

View File

@@ -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