summaryrefslogtreecommitdiff
path: root/src
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
commit70127934d1defb40d20cd648283126e98a418ab8 (patch)
treeb395a54cf5921c2be3006f4dadc6f50c53b82897 /src
parentcbd034925121799d0dca893f10bade0200ef3d6c (diff)
downloadopenttd-70127934d1defb40d20cd648283126e98a418ab8.tar.xz
(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side
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 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()