mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 19:39:12 +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:
@@ -263,7 +263,7 @@ static void TimetableWndProc(Window *w, WindowEvent *we)
|
|||||||
|
|
||||||
case WE_RESIZE:
|
case WE_RESIZE:
|
||||||
/* Update the scroll + matrix */
|
/* 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;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user