diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -492,7 +492,7 @@ static const WindowDesc _game_options_de WDP_CENTER, WDP_CENTER, 370, 249, 370, 249, WC_GAME_OPTIONS, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, - NULL, _nested_game_options_widgets, lengthof(_nested_game_options_widgets) + _nested_game_options_widgets, lengthof(_nested_game_options_widgets) ); @@ -770,7 +770,7 @@ static const WindowDesc _game_difficulty WDP_CENTER, WDP_CENTER, 370, 279, 370, 279, WC_GAME_OPTIONS, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, - NULL, _nested_game_difficulty_widgets, lengthof(_nested_game_difficulty_widgets) + _nested_game_difficulty_widgets, lengthof(_nested_game_difficulty_widgets) ); void ShowGameDifficulty() @@ -1656,7 +1656,7 @@ static const WindowDesc _settings_select WDP_CENTER, WDP_CENTER, 412, 188, 450, 397, WC_GAME_OPTIONS, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE, - NULL, _nested_settings_selection_widgets, lengthof(_nested_settings_selection_widgets) + _nested_settings_selection_widgets, lengthof(_nested_settings_selection_widgets) ); void ShowGameSettings() @@ -1938,7 +1938,7 @@ static const WindowDesc _cust_currency_d WDP_CENTER, WDP_CENTER, 230, 120, 230, 120, WC_CUSTOM_CURRENCY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, - NULL, _nested_cust_currency_widgets, lengthof(_nested_cust_currency_widgets) + _nested_cust_currency_widgets, lengthof(_nested_cust_currency_widgets) ); static void ShowCustCurrency()