industry_gui.c
changeset 1666 46dc094142b1
parent 1388 ee6b7233e4b1
child 1786 7cfd46c3fcc4
equal deleted inserted replaced
1665:ad61a6a27fca 1666:46dc094142b1
   576 		if (_industry_sort_dirty) {
   576 		if (_industry_sort_dirty) {
   577 			_industry_sort_dirty = false;
   577 			_industry_sort_dirty = false;
   578 			MakeSortedIndustryList();
   578 			MakeSortedIndustryList();
   579 		}
   579 		}
   580 
   580 
   581 		w->vscroll.count = _num_industry_sort;
   581 		SetVScrollCount(w, _num_industry_sort);
   582 
   582 
   583 		DrawWindowWidgets(w);
   583 		DrawWindowWidgets(w);
   584 		DoDrawString(_industry_sort_order & 1 ? "\xAA" : "\xA0", _indicator_positions[_industry_sort_order>>1], 15, 0x10);
   584 		DoDrawString(_industry_sort_order & 1 ? "\xAA" : "\xA0", _indicator_positions[_industry_sort_order>>1], 15, 0x10);
   585 
   585 
   586 		p = w->vscroll.pos;
   586 		p = w->vscroll.pos;