File diff r7996:5a693b9539fb → r7997:7eff37796679
src/industry_gui.cpp
Show inline comments
 
@@ -149,13 +149,13 @@ static void BuildDynamicIndustryWndProc(
 
				/* We've chosen many random industries but no industries have been specified */
 
				if (indsp == NULL) _fund_gui.enabled[WP(w, fnd_d).index] = _opt.diff.number_industries != 0;
 
				w->widget[DYNA_INDU_FUND_WIDGET].data = STR_BUILD_NEW_INDUSTRY;
 
			} else {
 
				w->widget[DYNA_INDU_FUND_WIDGET].data = (_patches.raw_industry_construction == 2 && indsp->IsRawIndustry()) ? STR_PROSPECT_NEW_INDUSTRY : STR_FUND_NEW_INDUSTRY;
 
			}
 
			SetWindowWidgetDisabledState(w, DYNA_INDU_FUND_WIDGET, !_fund_gui.enabled[WP(w, fnd_d).index]);
 
			w->SetWidgetDisabledState(DYNA_INDU_FUND_WIDGET, !_fund_gui.enabled[WP(w, fnd_d).index]);
 

	
 
			SetVScrollCount(w, _fund_gui.count);
 

	
 
			DrawWindowWidgets(w);
 

	
 
			/* and now with the matrix painting */