summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-11-14 18:20:40 +0000
committerdominik <dominik@openttd.org>2004-11-14 18:20:40 +0000
commit200d3fdbe83717437d7dad0fb99b180c3ca103a7 (patch)
tree6999a4aafeedf80269d3f07ded56ccc89843dcb5
parent183c33931d95f13c95882cd7a9300678efef97cb (diff)
downloadopenttd-200d3fdbe83717437d7dad0fb99b180c3ca103a7.tar.xz
(svn r606) -newgrf: Fixed waypoint scrollbar
-rw-r--r--rail_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c
index 2b84883e7..07eedf82a 100644
--- a/rail_gui.c
+++ b/rail_gui.c
@@ -1120,7 +1120,7 @@ static const WindowDesc _build_waypoint_desc = {
static void ShowBuildWaypointPicker()
{
Window *w = AllocateWindowDesc(&_build_waypoint_desc);
- w->hscroll.cap = 1;
+ w->hscroll.cap = 4;
w->hscroll.count = (uint) (_waypoint_count+3) / 4;
}