summaryrefslogtreecommitdiff
path: root/src/cheat_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-05-23 23:02:13 +0000
committerpeter1138 <peter1138@openttd.org>2008-05-23 23:02:13 +0000
commit6f233b1f8f18beb1e347c943685f6086d886993e (patch)
treef8f7bc73f5f105177d305593ba5a478036481084 /src/cheat_gui.cpp
parent95c230759505dbaeaec1e56922bb8eb57e92bd4a (diff)
downloadopenttd-6f233b1f8f18beb1e347c943685f6086d886993e.tar.xz
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r--src/cheat_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index 67d191cb4..42b8ca470 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -125,6 +125,7 @@ struct CheatWindow : Window {
CheatWindow(const WindowDesc *desc) : Window(desc)
{
+ this->FindWindowPlacementAndResize(desc);
}
virtual void OnPaint()