From 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 28 Nov 2009 14:42:35 +0000 Subject: (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. --- src/newgrf_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf_gui.cpp') 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) -- cgit v1.2.3-54-g00ecf