summaryrefslogtreecommitdiff
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
commit1ab7238c15ca4acfb5c49088d80d3177cb77bb01 (patch)
tree4f0ce7cb5c6099843b3a1f7686dccf0dd8816849
parent0b89bbaa3cf90c5e453accbc3d4a6ffea6fa18c8 (diff)
downloadopenttd-1ab7238c15ca4acfb5c49088d80d3177cb77bb01.tar.xz
(svn r2351) -Fix: It was possible to open more than one tree window
-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)