From 2bf2be987d414e2d80a20b7ace9ad9bde90fc7b8 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Sun, 25 Nov 2007 15:17:16 +0000 Subject: (svn r11522) -Fix: The scrollbar of the network gui could run out of bounds --- src/network/network_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network') 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; -- cgit v1.2.3-70-g09d2