summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/timetable_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 303664c56..6745353f3 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;
}