mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r10238) -Fix (r10236): Resizing the timetable window caused it to think it could only show one line at a time.
This commit is contained in:
parent
b2609653e4
commit
996fde1699
@ -263,7 +263,7 @@ static void TimetableWndProc(Window *w, WindowEvent *we)
|
||||
|
||||
case WE_RESIZE:
|
||||
/* Update the scroll + matrix */
|
||||
w->vscroll.cap = (w->widget[2].bottom - w->widget[2].top) / 10;
|
||||
w->vscroll.cap = (w->widget[3].bottom - w->widget[3].top) / 10;
|
||||
break;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user