summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-19 01:57:30 +0000
committersmatz <smatz@openttd.org>2008-05-19 01:57:30 +0000
commitd00d718b413a9b792f8a12d6369783deecd70366 (patch)
treeb395a54cf5921c2be3006f4dadc6f50c53b82897
parent5f0c2b27be7304f5bd148806fd4c760434058de9 (diff)
downloadopenttd-d00d718b413a9b792f8a12d6369783deecd70366.tar.xz
(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side
-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 362aa9647..f3b9620c2 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -674,9 +674,9 @@ struct MainToolbarWindow : Window {
CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
+ this->FindWindowPlacementAndResize(desc);
PositionMainToolbar(this);
DoZoomInOutWindow(ZOOM_NONE, this);
- this->FindWindowPlacementAndResize(desc);
}
virtual void OnPaint()