summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-05-19 17:40:26 +0000
committertron <tron@openttd.org>2005-05-19 17:40:26 +0000
commit7ce6e4f9a01502dacae686ed0cb0405858406566 (patch)
tree4f0ce7cb5c6099843b3a1f7686dccf0dd8816849 /misc_gui.c
parentfbc4831826681cb6ca92e52643aebad3c5c711d5 (diff)
downloadopenttd-7ce6e4f9a01502dacae686ed0cb0405858406566.tar.xz
(svn r2351) -Fix: It was possible to open more than one tree window
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c
index da59fd96b..a02a80c15 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -423,7 +423,7 @@ static const WindowDesc _build_trees_scen_desc = {
void ShowBuildTreesToolbar(void)
{
- AllocateWindowDesc(&_build_trees_desc);
+ AllocateWindowDescFront(&_build_trees_desc, 0);
}
void ShowBuildTreesScenToolbar(void)