summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-15 10:26:01 +0000
committerrubidium <rubidium@openttd.org>2009-11-15 10:26:01 +0000
commit3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0 (patch)
tree0bdb2f03353e6bb6431da2f85db3bfa1812ce348 /src/toolbar_gui.cpp
parent1b72fa84e25c38d3642acf9a7cbbaf8d59ecb9e8 (diff)
downloadopenttd-3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0.tar.xz
(svn r18086) -Codechange: remove 'widget' from WindowDesc
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index 224edafb3..231c1d52f 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -1366,7 +1366,7 @@ static const WindowDesc _toolb_normal_desc(
0, 0, 0, 22, 640, 22,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_NO_FOCUS,
- NULL, _nested_toolbar_normal_widgets, lengthof(_nested_toolbar_normal_widgets)
+ _nested_toolbar_normal_widgets, lengthof(_nested_toolbar_normal_widgets)
);
@@ -1589,7 +1589,7 @@ static const WindowDesc _toolb_scen_desc(
0, 0, 0, 22, 640, 22,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_NO_FOCUS,
- NULL, _nested_toolb_scen_widgets, lengthof(_nested_toolb_scen_widgets)
+ _nested_toolb_scen_widgets, lengthof(_nested_toolb_scen_widgets)
);
/* --- Allocating the toolbar --- */