summaryrefslogtreecommitdiff
path: root/src/news_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/news_gui.cpp
parentc21062a728fa37bb319c38b627d56f38150328f1 (diff)
downloadopenttd-53887e07bb8a6f815f48daffc3ac106496b2e694.tar.xz
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 27386043d..ba34b2f94 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -184,7 +184,7 @@ struct NewsWindow : Window {
GfxFillRect(left, top, right, top, 0xD7);
GfxFillRect(left, bottom, right, bottom, 0xD7);
- DrawString(left + 2, right - 2, top + 1, STR_SILVER_CROSS, TC_FROMSTRING);
+ DrawString(left + 2, right - 2, top + 1, STR_SILVER_CROSS);
}
virtual void OnPaint()
@@ -201,7 +201,7 @@ struct NewsWindow : Window {
break;
}
- DrawString(2, this->width - 1, 1, STR_SILVER_CROSS, TC_FROMSTRING);
+ DrawString(2, this->width - 1, 1, STR_SILVER_CROSS);
SetDParam(0, this->ni->date);
DrawString(2, this->width - 1, 1, STR_DATE_LONG_SMALL, TC_FROMSTRING, SA_RIGHT);