changeset 1846:30f58fca542e draft

(svn r2351) -Fix: It was possible to open more than one tree window
author tron <tron@openttd.org>
date Thu, 19 May 2005 17:40:26 +0000
parents 959d28b5567b
children 0cc3341d12f7
files misc_gui.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -423,7 +423,7 @@
 
 void ShowBuildTreesToolbar(void)
 {
-	AllocateWindowDesc(&_build_trees_desc);
+	AllocateWindowDescFront(&_build_trees_desc, 0);
 }
 
 void ShowBuildTreesScenToolbar(void)