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/newgrf_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/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 33e452b86..c6fdf8450 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -481,7 +481,7 @@ static const NWidgetPart _nested_newgrf_add_dlg_widgets[] = { /* Window definition for the add a newgrf window */ static const WindowDesc _newgrf_add_dlg_desc( - WDP_CENTER, WDP_CENTER, 306, 347, + WDP_CENTER, 306, 347, WC_SAVELOAD, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_newgrf_add_dlg_widgets, lengthof(_nested_newgrf_add_dlg_widgets) @@ -1038,7 +1038,7 @@ static const NWidgetPart _nested_newgrf_widgets[] = { /* Window definition of the manage newgrfs window */ static const WindowDesc _newgrf_desc( - WDP_CENTER, WDP_CENTER, 300, 263, + WDP_CENTER, 300, 263, WC_GAME_OPTIONS, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_newgrf_widgets, lengthof(_nested_newgrf_widgets) |