summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index 1dea6b595..de616ba4e 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -1180,12 +1180,12 @@ static const Widget _toolb_normal_widgets[] = {
{ WIDGETS_END},
};
-static const WindowDesc _toolb_normal_desc = {
+static const WindowDesc _toolb_normal_desc(
0, 0, 0, TBP_BUTTONHEIGHT, 640, TBP_BUTTONHEIGHT,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_NO_FOCUS,
- _toolb_normal_widgets,
-};
+ _toolb_normal_widgets
+);
/* --- Toolbar handling for the scenario editor */
@@ -1433,12 +1433,12 @@ static const Widget _toolb_scen_widgets[] = {
{WIDGETS_END},
};
-static const WindowDesc _toolb_scen_desc = {
+static const WindowDesc _toolb_scen_desc(
0, 0, 130, TBP_BUTTONHEIGHT, 640, TBP_BUTTONHEIGHT,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_NO_FOCUS,
- _toolb_scen_widgets,
-};
+ _toolb_scen_widgets
+);
/* --- Allocating the toolbar --- */