summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-11-08 12:16:17 +0000
committeryexo <yexo@openttd.org>2011-11-08 12:16:17 +0000
commitd5539f76d36281eab74cd7da47761324dbc34af6 (patch)
tree5a405fbd2f503b0e8de3c84547b9cdc993cc69a2 /src
parentfe574b7e0cf3d1a4c3d748b7bda521aa7b10ed7c (diff)
downloadopenttd-d5539f76d36281eab74cd7da47761324dbc34af6.tar.xz
(svn r23130) -Change [FS#4825]: open the query string window centered as it (almost) always requires your attention
Diffstat (limited to 'src')
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 7b5338704..2f1ad58e0 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1505,7 +1505,7 @@ static const NWidgetPart _nested_query_string_widgets[] = {
};
static const WindowDesc _query_string_desc(
- WDP_AUTO, 0, 0,
+ WDP_CENTER, 0, 0,
WC_QUERY_STRING, WC_NONE,
0,
_nested_query_string_widgets, lengthof(_nested_query_string_widgets)