summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index cddd67d31..50af415a7 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -539,6 +539,8 @@ static void NetworkGameWindowWndProc(Window *w, WindowEvent *e)
w->widget[NGWW_MATRIX].data = (w->vscroll.cap << 8) + 1;
+ SetVScrollCount(w, ld->list_length);
+
int widget_width = w->widget[NGWW_FIND].right - w->widget[NGWW_FIND].left;
int space = (w->width - 4 * widget_width - 25) / 3;