(svn r11522) -Fix: The scrollbar of the network gui could run out of bounds

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
skidd13 17 years ago
parent 1d5010edf9
commit 2bf2be987d

@ -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;

Loading…
Cancel
Save