summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-06-08 16:52:33 +0000
committerfrosch <frosch@openttd.org>2013-06-08 16:52:33 +0000
commitd79b2b03d0b7fdc088e1eef05d8d12ebf1190b77 (patch)
treec1a41895e2136cf089caddd77a9fcbf534ca74d7
parent5bb1d01af92868333e9e326ae5a111aaab80a338 (diff)
downloadopenttd-d79b2b03d0b7fdc088e1eef05d8d12ebf1190b77.tar.xz
(svn r25334) -Fix: Position the linkgraph legend window automatically like most windows.
-rw-r--r--src/linkgraph/linkgraph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linkgraph/linkgraph_gui.cpp b/src/linkgraph/linkgraph_gui.cpp
index b69d18411..f272d287c 100644
--- a/src/linkgraph/linkgraph_gui.cpp
+++ b/src/linkgraph/linkgraph_gui.cpp
@@ -381,7 +381,7 @@ assert_compile(WID_LGL_SATURATION_LAST - WID_LGL_SATURATION_FIRST ==
lengthof(LinkGraphOverlay::LINK_COLOURS) - 1);
static WindowDesc _linkgraph_legend_desc(
- WDP_MANUAL, "toolbar_linkgraph", 300, 314,
+ WDP_AUTO, "toolbar_linkgraph", 0, 0,
WC_LINKGRAPH_LEGEND, WC_NONE,
0,
_nested_linkgraph_legend_widgets, lengthof(_nested_linkgraph_legend_widgets)