diff src/settings_gui.cpp @ 13564:bae287664b02 draft

(svn r18086) -Codechange: remove 'widget' from WindowDesc
author rubidium <rubidium@openttd.org>
date Sun, 15 Nov 2009 10:26:01 +0000 (2009-11-15)
parents 59959bee9f95
children 47a93be74755
line wrap: on
line diff
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -492,7 +492,7 @@
 	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 @@
 	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 @@
 	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 @@
 	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()