summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-19 02:01:44 +0000
committersmatz <smatz@openttd.org>2008-05-19 02:01:44 +0000
commit6864eedb1bfb5b3cf4d82687322a808f7e523050 (patch)
treeadbab9c8f28b3dae90597743d976855f083e0267 /src
parent70127934d1defb40d20cd648283126e98a418ab8 (diff)
downloadopenttd-6864eedb1bfb5b3cf4d82687322a808f7e523050.tar.xz
(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
Diffstat (limited to 'src')
-rw-r--r--src/toolbar_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index f3b9620c2..d555a94c1 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -899,9 +899,9 @@ struct ScenarioEditorToolbarWindow : Window {
{
CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
+ this->FindWindowPlacementAndResize(desc);
PositionMainToolbar(this);
DoZoomInOutWindow(ZOOM_NONE, this);
- this->FindWindowPlacementAndResize(desc);
}
virtual void OnPaint()