Fix: ini_key issues reported by the script

This commit is contained in:
glx22 2023-07-13 17:41:06 +02:00 committed by Loïc Guilloux
parent 9cdf86a411
commit 46b504a700
11 changed files with 15 additions and 15 deletions

View File

@ -619,7 +619,7 @@ static const NWidgetPart _nested_build_airport_widgets[] = {
};
static WindowDesc _build_airport_desc(
WDP_AUTO, "build_station_air", 0, 0,
WDP_AUTO, nullptr, 0, 0,
WC_BUILD_STATION, WC_BUILD_TOOLBAR,
WDF_CONSTRUCTION,
_nested_build_airport_widgets, lengthof(_nested_build_airport_widgets)

View File

@ -1157,7 +1157,7 @@ static const NWidgetPart _nested_select_company_livery_widgets [] = {
};
static WindowDesc _select_company_livery_desc(
WDP_AUTO, "company_livery", 0, 0,
WDP_AUTO, nullptr, 0, 0,
WC_COMPANY_COLOUR, WC_NONE,
0,
_nested_select_company_livery_widgets, lengthof(_nested_select_company_livery_widgets)
@ -1774,7 +1774,7 @@ public:
/** Company manager face selection window description */
static WindowDesc _select_company_manager_face_desc(
WDP_AUTO, "company_face", 0, 0,
WDP_AUTO, nullptr, 0, 0,
WC_COMPANY_MANAGER_FACE, WC_NONE,
WDF_CONSTRUCTION,
_nested_select_company_manager_face_widgets, lengthof(_nested_select_company_manager_face_widgets)

View File

@ -144,7 +144,7 @@ struct EnginePreviewWindow : Window {
};
static WindowDesc _engine_preview_desc(
WDP_CENTER, "engine_preview", 0, 0,
WDP_CENTER, nullptr, 0, 0,
WC_ENGINE_PREVIEW, WC_NONE,
WDF_CONSTRUCTION,
_nested_engine_preview_widgets, lengthof(_nested_engine_preview_widgets)

View File

@ -43,7 +43,7 @@ static const NWidgetPart _nested_errmsg_widgets[] = {
};
static WindowDesc _errmsg_desc(
WDP_MANUAL, "error", 0, 0,
WDP_MANUAL, nullptr, 0, 0,
WC_ERRMSG, WC_NONE,
0,
_nested_errmsg_widgets, lengthof(_nested_errmsg_widgets)
@ -63,7 +63,7 @@ static const NWidgetPart _nested_errmsg_face_widgets[] = {
};
static WindowDesc _errmsg_face_desc(
WDP_MANUAL, "error_face", 0, 0,
WDP_MANUAL, nullptr, 0, 0,
WC_ERRMSG, WC_NONE,
0,
_nested_errmsg_face_widgets, lengthof(_nested_errmsg_face_widgets)

View File

@ -197,7 +197,7 @@ static const NWidgetPart _nested_performance_league_widgets[] = {
};
static WindowDesc _performance_league_desc(
WDP_AUTO, "league", 0, 0,
WDP_AUTO, "performance_league", 0, 0,
WC_COMPANY_LEAGUE, WC_NONE,
0,
_nested_performance_league_widgets, lengthof(_nested_performance_league_widgets)
@ -429,7 +429,7 @@ static const NWidgetPart _nested_script_league_widgets[] = {
};
static WindowDesc _script_league_desc(
WDP_AUTO, "league", 0, 0,
WDP_AUTO, "script_league", 0, 0,
WC_COMPANY_LEAGUE, WC_NONE,
0,
_nested_script_league_widgets, lengthof(_nested_script_league_widgets)

View File

@ -59,7 +59,7 @@ static const NWidgetPart _nested_land_info_widgets[] = {
};
static WindowDesc _land_info_desc(
WDP_AUTO, "land_info", 0, 0,
WDP_AUTO, nullptr, 0, 0,
WC_LAND_INFO, WC_NONE,
0,
_nested_land_info_widgets, lengthof(_nested_land_info_widgets)
@ -1064,7 +1064,7 @@ static const NWidgetPart _nested_query_string_widgets[] = {
};
static WindowDesc _query_string_desc(
WDP_CENTER, "query_string", 0, 0,
WDP_CENTER, nullptr, 0, 0,
WC_QUERY_STRING, WC_NONE,
0,
_nested_query_string_widgets, lengthof(_nested_query_string_widgets)

View File

@ -642,7 +642,7 @@ static const NWidgetPart _nested_music_track_selection_widgets[] = {
};
static WindowDesc _music_track_selection_desc(
WDP_AUTO, "music_track", 0, 0,
WDP_AUTO, nullptr, 0, 0,
WC_MUSIC_TRACK_SELECTION, WC_NONE,
0,
_nested_music_track_selection_widgets, lengthof(_nested_music_track_selection_widgets)

View File

@ -335,7 +335,7 @@ static const NWidgetPart _nested_osk_widgets[] = {
};
static WindowDesc _osk_desc(
WDP_CENTER, "query_osk", 0, 0,
WDP_CENTER, nullptr, 0, 0,
WC_OSK, WC_NONE,
0,
_nested_osk_widgets, lengthof(_nested_osk_widgets)

View File

@ -1886,7 +1886,7 @@ static const NWidgetPart _nested_signal_builder_widgets[] = {
/** Signal selection window description */
static WindowDesc _signal_builder_desc(
WDP_AUTO, "build_signal", 0, 0,
WDP_AUTO, nullptr, 0, 0,
WC_BUILD_SIGNAL, WC_BUILD_TOOLBAR,
WDF_CONSTRUCTION,
_nested_signal_builder_widgets, lengthof(_nested_signal_builder_widgets)

View File

@ -899,7 +899,7 @@ static const NWidgetPart _nested_game_options_widgets[] = {
};
static WindowDesc _game_options_desc(
WDP_CENTER, "settings_game", 0, 0,
WDP_CENTER, nullptr, 0, 0,
WC_GAME_OPTIONS, WC_NONE,
0,
_nested_game_options_widgets, lengthof(_nested_game_options_widgets)

View File

@ -552,7 +552,7 @@ static const NWidgetPart _nested_query_sign_edit_widgets[] = {
};
static WindowDesc _query_sign_edit_desc(
WDP_CENTER, "query_sign", 0, 0,
WDP_CENTER, nullptr, 0, 0,
WC_QUERY_STRING, WC_NONE,
WDF_CONSTRUCTION,
_nested_query_sign_edit_widgets, lengthof(_nested_query_sign_edit_widgets)