diff options
author | frosch <frosch@openttd.org> | 2016-05-22 10:52:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2016-05-22 10:52:02 +0000 |
commit | 8084f39bf332b14f4cb1424068849474e1b59cf9 (patch) | |
tree | 49cb14291e2a01425a2537bb506bb47726a62f19 /src/dock_gui.cpp | |
parent | 4fc43b510d128b9d9f05f7c43222c0153f33ae12 (diff) | |
download | openttd-8084f39bf332b14f4cb1424068849474e1b59cf9.tar.xz |
(svn r27577) -Fix [FS#6386]: Dock and roadstop picker, client list and town authority window did not auto-resize according to their content when they were positioned at the bottom of the screen. (Eearslya)
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r-- | src/dock_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index c20920668..79eaa89b1 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -433,7 +433,7 @@ public: * Never make the window smaller to avoid oscillating if the size change affects the acceptance. * (This is the case, if making the window bigger moves the mouse into the window.) */ if (top > bottom) { - ResizeWindow(this, 0, top - bottom); + ResizeWindow(this, 0, top - bottom, false); } } |