summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-31 12:18:28 +0000
committeryexo <yexo@openttd.org>2010-08-31 12:18:28 +0000
commit0068c02244236506d7acf3caa74c144cb28ec203 (patch)
tree1bf38c40e0eeae37aed3ba15a355c3989eb13403 /src/window.cpp
parent1906dc80afeab4fa9811dde4b8c57429a330fbc7 (diff)
downloadopenttd-0068c02244236506d7acf3caa74c144cb28ec203.tar.xz
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
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 091528c11..bc4f31ed1 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2619,6 +2619,10 @@ void ReInitAllWindows()
FOR_ALL_WINDOWS_FROM_BACK(w) {
w->ReInit();
}
+#ifdef ENABLE_NETWORK
+ void NetworkReInitChatBoxSize();
+ NetworkReInitChatBoxSize();
+#endif
/* Make sure essential parts of all windows are visible */
RelocateAllWindows(_cur_resolution.width, _cur_resolution.height);