(svn r78) -Fix: [1010830] Landscape toolbar in scenario editor shown at wrong position
authordarkvater
Tue, 17 Aug 2004 22:39:40 +0000
changeset 77 855f2aaf816b
parent 76 30511cbc5188
child 78 e414e758dcb9
(svn r78) -Fix: [1010830] Landscape toolbar in scenario editor shown at wrong position
window.c
--- a/window.c	Tue Aug 17 16:20:04 2004 +0000
+++ b/window.c	Tue Aug 17 22:39:40 2004 +0000
@@ -531,8 +531,7 @@
 		if (pt.x > _screen.width + 10 - desc->width)
 			pt.x = (_screen.width + 10 - desc->width) - 20;
 		pt.y = w->top + 10;
-	// open Build Toolbars and Terraforming Toolbar aligned
-	} else if (desc->cls == WC_BUILD_TOOLBAR || desc->cls == WC_SCEN_LAND_GEN) {
+	} else if (desc->cls == WC_BUILD_TOOLBAR) {	// open Build Toolbars aligned
 		/* Override the position if a toolbar is opened according to the place of the maintoolbar
 		 * The main toolbar (WC_MAIN_TOOLBAR) is 640px in width */
 		switch (_patches.toolbar_pos) {