File diff r16568:81ce9c68a09c → r16569:e4bef51ab6b8
src/subsidy_gui.cpp
Show inline comments
 
@@ -174,7 +174,7 @@ struct SubsidyListWindow : Window {
 
			if (!s->IsAwarded()) {
 
				if (IsInsideMM(pos, 0, cap)) {
 
					/* Displays the two offered towns */
 
					SetupSubsidyDecodeParam(s, 1);
 
					SetupSubsidyDecodeParam(s, true);
 
					SetDParam(7, _date - ymd.day + s->remaining * 32);
 
					DrawString(x, right, y + pos * FONT_HEIGHT_NORMAL, STR_SUBSIDIES_OFFERED_FROM_TO);
 
				}
 
@@ -197,7 +197,7 @@ struct SubsidyListWindow : Window {
 
		FOR_ALL_SUBSIDIES(s) {
 
			if (s->IsAwarded()) {
 
				if (IsInsideMM(pos, 0, cap)) {
 
					SetupSubsidyDecodeParam(s, 1);
 
					SetupSubsidyDecodeParam(s, true);
 
					SetDParam(7, s->awarded);
 
					SetDParam(8, _date - ymd.day + s->remaining * 32);