summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-17 16:59:12 +0000
committersmatz <smatz@openttd.org>2008-05-17 16:59:12 +0000
commit88f9fa89bc843eccf79de2f953c01b883bbf00f1 (patch)
treea12c0f23a0d1a7a1dbe9ae643787ad12952f90a6 /src/rail_gui.cpp
parentfdcb4e64022a046a7b2e9006ee4fe35f59de0069 (diff)
downloadopenttd-88f9fa89bc843eccf79de2f953c01b883bbf00f1.tar.xz
(svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index 5c819742a..4db21bdd3 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -1473,6 +1473,7 @@ public:
{
this->hscroll.cap = 5;
this->hscroll.count = _waypoint_count;
+ this->FindWindowPlacementAndResize(desc);
};
virtual void OnPaint()