summaryrefslogtreecommitdiff
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
commit17e4e33aee8dcc883f99aa121a77a9f541a4d52e (patch)
treeadbab9c8f28b3dae90597743d976855f083e0267
parentd00d718b413a9b792f8a12d6369783deecd70366 (diff)
downloadopenttd-17e4e33aee8dcc883f99aa121a77a9f541a4d52e.tar.xz
(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
-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()