(svn r2170) -fix: [1179457] the industry list can now no longer scroll down then the end of the list is reached (Hackykid)

This commit is contained in:
bjarni 2005-04-08 23:46:18 +00:00
parent 5d02a2c295
commit 4af271c494
1 changed files with 1 additions and 1 deletions

View File

@ -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);