# HG changeset patch # User smatz # Date 1211161807 0 # Node ID d5c2eaf562539abc8aed7ef892ceb5e761f96858 # Parent 7ec436e861633b5384240dceaa2bd82bd584a9bf (svn r13176) -Fix (r13153): town window was glitchy while opening diff -r 7ec436e86163 -r d5c2eaf56253 src/town_gui.cpp --- a/src/town_gui.cpp Mon May 19 01:10:52 2008 +0000 +++ b/src/town_gui.cpp Mon May 19 01:50:07 2008 +0000 @@ -305,6 +305,8 @@ 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()