summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 59dea3bd3..bcc9d31b4 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -482,12 +482,12 @@ static const WindowDesc _build_trees_scen_desc = {
void ShowBuildTreesToolbar()
{
if (!IsValidPlayer(_current_player)) return;
- AllocateWindowDescFront(&_build_trees_desc, 0);
+ AllocateWindowDescFront<Window>(&_build_trees_desc, 0);
}
void ShowBuildTreesScenToolbar()
{
- AllocateWindowDescFront(&_build_trees_scen_desc, 0);
+ AllocateWindowDescFront<Window>(&_build_trees_scen_desc, 0);
}
static uint64 _errmsg_decode_params[20];