diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
commit | 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch) | |
tree | 4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/genworld_gui.cpp | |
parent | b58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff) | |
download | openttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz |
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 462d377e4..cbb8764d8 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -744,14 +744,14 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { }; static const WindowDesc _generate_landscape_desc( - WDP_CENTER, WDP_CENTER, 338, 313, + WDP_CENTER, 338, 313, WC_GENERATE_LANDSCAPE, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_generate_landscape_widgets, lengthof(_nested_generate_landscape_widgets) ); static const WindowDesc _heightmap_load_desc( - WDP_CENTER, WDP_CENTER, 338, 236, + WDP_CENTER, 338, 236, WC_GENERATE_LANDSCAPE, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_heightmap_load_widgets, lengthof(_nested_heightmap_load_widgets) @@ -1057,7 +1057,7 @@ static const NWidgetPart _nested_create_scenario_widgets[] = { }; static const WindowDesc _create_scenario_desc( - WDP_CENTER, WDP_CENTER, 338, 170, + WDP_CENTER, 338, 170, WC_GENERATE_LANDSCAPE, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_create_scenario_widgets, lengthof(_nested_create_scenario_widgets) @@ -1090,7 +1090,7 @@ static const NWidgetPart _nested_generate_progress_widgets[] = { static const WindowDesc _generate_progress_desc( - WDP_CENTER, WDP_CENTER, 181, 97, + WDP_CENTER, 181, 97, WC_GENERATE_PROGRESS_WINDOW, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_generate_progress_widgets, lengthof(_nested_generate_progress_widgets) |