summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-01-03 00:22:14 +0000
committerfrosch <frosch@openttd.org>2012-01-03 00:22:14 +0000
commit4027e58ba315c17a213c218e4d26e5c066372129 (patch)
treeb46901c8ae0806c02892bf551ef228b6b0b7f83b /src/window.cpp
parentc4e2dfdd89a21b88fea6b385a25c118e9c94cdbe (diff)
downloadopenttd-4027e58ba315c17a213c218e4d26e5c066372129.tar.xz
(svn r23722) -Change: Give the chat query window the same Z priority as the normal text query window.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index c114467b0..5177656a1 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -985,6 +985,7 @@ static uint GetWindowZPriority(const Window *w)
++z_priority;
case WC_QUERY_STRING:
+ case WC_SEND_NETWORK_MSG:
++z_priority;
case WC_ERRMSG:
@@ -1007,7 +1008,6 @@ static uint GetWindowZPriority(const Window *w)
case WC_CONSOLE:
++z_priority;
- case WC_SEND_NETWORK_MSG:
case WC_NEWS_WINDOW:
++z_priority;