(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.

This commit is contained in:
rubidium
2009-11-28 14:42:35 +00:00
parent b58b058e2b
commit 293dfd7c3e
48 changed files with 159 additions and 173 deletions

View File

@@ -476,7 +476,7 @@ static const NWidgetPart _nested_game_options_widgets[] = {
};
static const WindowDesc _game_options_desc(
WDP_CENTER, WDP_CENTER, 370, 249,
WDP_CENTER, 370, 249,
WC_GAME_OPTIONS, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_game_options_widgets, lengthof(_nested_game_options_widgets)
@@ -750,7 +750,7 @@ static const NWidgetPart _nested_game_difficulty_widgets[] = {
/** Window definition for the game difficulty settings window */
static const WindowDesc _game_difficulty_desc(
WDP_CENTER, WDP_CENTER, 370, 279,
WDP_CENTER, 370, 279,
WC_GAME_OPTIONS, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_game_difficulty_widgets, lengthof(_nested_game_difficulty_widgets)
@@ -1644,7 +1644,7 @@ static const NWidgetPart _nested_settings_selection_widgets[] = {
};
static const WindowDesc _settings_selection_desc(
WDP_CENTER, WDP_CENTER, 450, 397,
WDP_CENTER, 450, 397,
WC_GAME_OPTIONS, WC_NONE,
0,
_nested_settings_selection_widgets, lengthof(_nested_settings_selection_widgets)
@@ -1923,7 +1923,7 @@ static const NWidgetPart _nested_cust_currency_widgets[] = {
};
static const WindowDesc _cust_currency_desc(
WDP_CENTER, WDP_CENTER, 230, 120,
WDP_CENTER, 230, 120,
WC_CUSTOM_CURRENCY, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_cust_currency_widgets, lengthof(_nested_cust_currency_widgets)