diff options
author | smatz <smatz@openttd.org> | 2008-05-19 01:50:07 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-19 01:50:07 +0000 |
commit | 290cedade22ae5e5f5fb52dfedea6ec5101ba9d2 (patch) | |
tree | d1540487792c1253ba51ca50f9ddb61c652fc93a /src | |
parent | fa72187bbf5dbb990305abf9b068dafb9353f11b (diff) | |
download | openttd-290cedade22ae5e5f5fb52dfedea6ec5101ba9d2.tar.xz |
(svn r13176) -Fix (r13153): town window was glitchy while opening
Diffstat (limited to 'src')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 218276d33..ee2a80601 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -305,6 +305,8 @@ struct TownViewWindow : Window { this->widget[TVW_CHANGENAME].bottom = this->widget[TVW_EXPAND].bottom; this->widget[TVW_CHANGENAME].right = this->widget[TVW_STICKY].right; } + + this->FindWindowPlacementAndResize(desc); } virtual void OnPaint() |