summaryrefslogtreecommitdiff
path: root/src/subsidy_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-26 14:52:56 +0000
committerrubidium <rubidium@openttd.org>2009-04-26 14:52:56 +0000
commit53887e07bb8a6f815f48daffc3ac106496b2e694 (patch)
tree46b1264b6cbd4a5187e9361bab01ae4418503f56 /src/subsidy_gui.cpp
parentc21062a728fa37bb319c38b627d56f38150328f1 (diff)
downloadopenttd-53887e07bb8a6f815f48daffc3ac106496b2e694.tar.xz
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
Diffstat (limited to 'src/subsidy_gui.cpp')
-rw-r--r--src/subsidy_gui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/subsidy_gui.cpp b/src/subsidy_gui.cpp
index d7a517a22..298592522 100644
--- a/src/subsidy_gui.cpp
+++ b/src/subsidy_gui.cpp
@@ -122,7 +122,7 @@ struct SubsidyListWindow : Window {
int x = this->widget[SLW_PANEL].left + 1;
/* Section for drawing the offered subisidies */
- DrawString(x, right, y, STR_SUBSIDIES_OFFERED_TITLE, TC_FROMSTRING);
+ DrawString(x, right, y, STR_SUBSIDIES_OFFERED_TITLE);
y += FONT_HEIGHT_NORMAL;
uint num = 0;
@@ -131,7 +131,7 @@ struct SubsidyListWindow : Window {
/* Displays the two offered towns */
SetupSubsidyDecodeParam(s, 1);
SetDParam(7, _date - ymd.day + 384 - s->age * 32);
- DrawString(x + 2, right - 2, y, STR_SUBSIDIES_OFFERED_FROM_TO, TC_FROMSTRING);
+ DrawString(x + 2, right - 2, y, STR_SUBSIDIES_OFFERED_FROM_TO);
y += FONT_HEIGHT_NORMAL;
num++;
@@ -139,12 +139,12 @@ struct SubsidyListWindow : Window {
}
if (num == 0) {
- DrawString(x + 2, right - 2, y, STR_SUBSIDIES_NONE, TC_FROMSTRING);
+ DrawString(x + 2, right - 2, y, STR_SUBSIDIES_NONE);
y += FONT_HEIGHT_NORMAL;
}
/* Section for drawing the already granted subisidies */
- DrawString(x, right, y + 1, STR_SUBSIDIES_SUBSIDISED_TITLE, TC_FROMSTRING);
+ DrawString(x, right, y + 1, STR_SUBSIDIES_SUBSIDISED_TITLE);
y += FONT_HEIGHT_NORMAL;
num = 0;
@@ -155,14 +155,14 @@ struct SubsidyListWindow : Window {
SetDParam(4, _date - ymd.day + 768 - s->age * 32);
/* Displays the two connected stations */
- DrawString(x + 2, right - 2, y, STR_SUBSIDIES_SUBSIDISED_FROM_TO, TC_FROMSTRING);
+ DrawString(x + 2, right - 2, y, STR_SUBSIDIES_SUBSIDISED_FROM_TO);
y += FONT_HEIGHT_NORMAL;
num++;
}
}
- if (num == 0) DrawString(x + 2, right - 2, y, STR_SUBSIDIES_NONE, TC_FROMSTRING);
+ if (num == 0) DrawString(x + 2, right - 2, y, STR_SUBSIDIES_NONE);
}
};