File diff r25635:0322ee894c0f → r25636:7c2fc0b1c9aa
src/subsidy_gui.cpp
Show inline comments
 
@@ -161,7 +161,7 @@ struct SubsidyListWindow : Window {
 
			if (!s->IsAwarded()) {
 
				if (IsInsideMM(pos, 0, cap)) {
 
					/* Displays the two offered towns */
 
					SetupSubsidyDecodeParam(s, true);
 
					SetupSubsidyDecodeParam(s, SubsidyDecodeParamType::Gui);
 
					SetDParam(7, _date - ymd.day + s->remaining * 32);
 
					DrawString(x, right, y + pos * FONT_HEIGHT_NORMAL, STR_SUBSIDIES_OFFERED_FROM_TO);
 
				}
 
@@ -184,7 +184,7 @@ struct SubsidyListWindow : Window {
 
		for (const Subsidy *s : Subsidy::Iterate()) {
 
			if (s->IsAwarded()) {
 
				if (IsInsideMM(pos, 0, cap)) {
 
					SetupSubsidyDecodeParam(s, true);
 
					SetupSubsidyDecodeParam(s, SubsidyDecodeParamType::Gui);
 
					SetDParam(7, s->awarded);
 
					SetDParam(8, _date - ymd.day + s->remaining * 32);