From 996fde16992e7243cdf5653d1ecf4a643e82e76c Mon Sep 17 00:00:00 2001 From: maedhros Date: Wed, 20 Jun 2007 19:57:18 +0000 Subject: [PATCH] (svn r10238) -Fix (r10236): Resizing the timetable window caused it to think it could only show one line at a time. --- src/timetable_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index 303664c566..6745353f37 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -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; }