summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
commit293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch)
tree4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/town_gui.cpp
parentb58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff)
downloadopenttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index 90f62a61c..f31ff0d41 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -282,7 +282,7 @@ public:
};
static const WindowDesc _town_authority_desc(
- WDP_AUTO, WDP_AUTO, 317, 222,
+ WDP_AUTO, 317, 222,
WC_TOWN_AUTHORITY, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_authority_widgets, lengthof(_nested_town_authority_widgets)
@@ -540,7 +540,7 @@ static const NWidgetPart _nested_town_game_view_widgets[] = {
};
static const WindowDesc _town_game_view_desc(
- WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL,
+ WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL,
WC_TOWN_VIEW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets)
@@ -570,7 +570,7 @@ static const NWidgetPart _nested_town_editor_view_widgets[] = {
};
static const WindowDesc _town_editor_view_desc(
- WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL,
+ WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL,
WC_TOWN_VIEW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets)
@@ -856,7 +856,7 @@ GUITownList::SortFunction * const TownDirectoryWindow::sorter_funcs[] = {
};
static const WindowDesc _town_directory_desc(
- WDP_AUTO, WDP_AUTO, 208, 202,
+ WDP_AUTO, 208, 202,
WC_TOWN_DIRECTORY, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_directory_widgets, lengthof(_nested_town_directory_widgets)
@@ -1141,7 +1141,7 @@ public:
};
static const WindowDesc _found_town_desc(
- WDP_AUTO, WDP_AUTO, 160, 162,
+ WDP_AUTO, 160, 162,
WC_FOUND_TOWN, WC_NONE,
WDF_CONSTRUCTION,
_nested_found_town_widgets, lengthof(_nested_found_town_widgets)