summaryrefslogtreecommitdiff
path: root/src/cheat_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/cheat_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/cheat_gui.cpp')
-rw-r--r--src/cheat_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index 1583fd487..d63aaf2be 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -151,7 +151,7 @@ struct CheatWindow : Window {
virtual void OnPaint()
{
this->DrawWidgets();
- DrawStringMultiLine(20, this->width - 20, 15, 45, STR_CHEATS_WARNING, SA_CENTER);
+ DrawStringMultiLine(20, this->width - 20, 15, 45, STR_CHEATS_WARNING, TC_FROMSTRING, SA_CENTER);
for (int i = 0, x = 0, y = 45; i != lengthof(_cheats_ui); i++) {
const CheatEntry *ce = &_cheats_ui[i];