summaryrefslogtreecommitdiff
path: root/src/news_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/news_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/news_gui.cpp')
-rw-r--r--src/news_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 3b2b250a5..41b2e9daf 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -795,6 +795,8 @@ struct MessageOptionsWindow : Window {
}
/* If all values are the same value, the ALL-button will take over this value */
this->state = all_val;
+
+ this->FindWindowPlacementAndResize(desc);
}
/**