summaryrefslogtreecommitdiff
path: root/src/company_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-26 10:45:07 +0000
committerrubidium <rubidium@openttd.org>2009-04-26 10:45:07 +0000
commit11c6d30e77ab52b233b3a16a17054d2d65c8f410 (patch)
tree94a31f7394b1807c0e08ec0094bd77dd6abe09b2 /src/company_gui.cpp
parentfc63e376168adb7b12d9eca43c3bac3751297c3a (diff)
downloadopenttd-11c6d30e77ab52b233b3a16a17054d2d65c8f410.tar.xz
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r--src/company_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp
index 6d1ee4a67..529fe2cd5 100644
--- a/src/company_gui.cpp
+++ b/src/company_gui.cpp
@@ -1568,7 +1568,7 @@ struct CompanyWindow : Window
/* "xxx (Manager)" */
SetDParam(0, c->index);
- DrawStringMultiLine(48 - MAX_LENGTH_PRESIDENT_NAME_PIXELS / 2, 48 + MAX_LENGTH_PRESIDENT_NAME_PIXELS / 2, 135, 157, STR_COMPANY_VIEW_PRESIDENT_MANAGER_TITLE, SA_CENTER);
+ DrawStringMultiLine(48 - MAX_LENGTH_PRESIDENT_NAME_PIXELS / 2, 48 + MAX_LENGTH_PRESIDENT_NAME_PIXELS / 2, 135, 157, STR_COMPANY_VIEW_PRESIDENT_MANAGER_TITLE, TC_FROMSTRING, SA_CENTER);
/* "Inaugurated:" */
SetDParam(0, c->inaugurated_year);
@@ -1745,7 +1745,7 @@ struct BuyCompanyWindow : Window {
SetDParam(0, c->index);
SetDParam(1, c->bankrupt_value);
- DrawStringMultiLine(95, 333, 26, 116, STR_BUY_COMPANY_MESSAGE, SA_CENTER);
+ DrawStringMultiLine(95, 333, 26, 116, STR_BUY_COMPANY_MESSAGE, TC_FROMSTRING, SA_CENTER);
}
virtual void OnClick(Point pt, int widget)