From 4af271c49416e12f106b9f9fbbf51b6ac459052d Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 8 Apr 2005 23:46:18 +0000 Subject: [PATCH] (svn r2170) -fix: [1179457] the industry list can now no longer scroll down then the end of the list is reached (Hackykid) --- industry_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/industry_gui.c b/industry_gui.c index fcb85dd33e..f13b2ca624 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -578,7 +578,7 @@ static void IndustryDirectoryWndProc(Window *w, WindowEvent *e) MakeSortedIndustryList(); } - w->vscroll.count = _num_industry_sort; + SetVScrollCount(w, _num_industry_sort); DrawWindowWidgets(w); DoDrawString(_industry_sort_order & 1 ? "\xAA" : "\xA0", _indicator_positions[_industry_sort_order>>1], 15, 0x10);