summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-07-25 15:58:48 +0000
committerfrosch <frosch@openttd.org>2009-07-25 15:58:48 +0000
commit55e07d0606c539224c85db4e4ea7dbd13ecf75a8 (patch)
tree333cc87c2ff94b7a1f5962793dbe5b3458dbb08f /src/window.cpp
parent6de80c92781f91ae8273160560b6bc59e3372bcf (diff)
downloadopenttd-55e07d0606c539224c85db4e4ea7dbd13ecf75a8.tar.xz
(svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 60519f3ee..2f79cdc77 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2556,6 +2556,10 @@ void ReInitAllWindows()
FOR_ALL_WINDOWS_FROM_BACK(w) {
w->ReInit();
}
+
+ /* Make sure essential parts of all windows are visible */
+ RelocateAllWindows(_cur_resolution.width, _cur_resolution.height);
+ MarkWholeScreenDirty();
}
/**