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/toolbar_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/toolbar_gui.cpp') diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 1232f5d08..0190e9ec6 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -1376,7 +1376,7 @@ static const NWidgetPart _nested_toolbar_normal_widgets[] = { }; static const WindowDesc _toolb_normal_desc( - WDP_MANUAL, WDP_MANUAL, 640, 22, + WDP_MANUAL, 640, 22, WC_MAIN_TOOLBAR, WC_NONE, WDF_NO_FOCUS, _nested_toolbar_normal_widgets, lengthof(_nested_toolbar_normal_widgets) @@ -1599,7 +1599,7 @@ static const NWidgetPart _nested_toolb_scen_widgets[] = { }; static const WindowDesc _toolb_scen_desc( - WDP_MANUAL, WDP_MANUAL, 640, 22, + WDP_MANUAL, 640, 22, WC_MAIN_TOOLBAR, WC_NONE, WDF_UNCLICK_BUTTONS | WDF_NO_FOCUS, _nested_toolb_scen_widgets, lengthof(_nested_toolb_scen_widgets) -- cgit v1.2.3-54-g00ecf