mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00: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