summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-05-22 10:52:02 +0000
committerfrosch <frosch@openttd.org>2016-05-22 10:52:02 +0000
commit8084f39bf332b14f4cb1424068849474e1b59cf9 (patch)
tree49cb14291e2a01425a2537bb506bb47726a62f19 /src/network
parent4fc43b510d128b9d9f05f7c43222c0153f33ae12 (diff)
downloadopenttd-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/network')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 795d28e13..7c04ad4e0 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1892,7 +1892,7 @@ struct NetworkClientListWindow : Window {
int diff = (num + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM) - (this->GetWidget<NWidgetBase>(WID_CL_PANEL)->current_y);
/* If height is changed */
if (diff != 0) {
- ResizeWindow(this, 0, diff);
+ ResizeWindow(this, 0, diff, false);
return false;
}
return true;