summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-05-31 19:29:40 +0000
committeralberth <alberth@openttd.org>2009-05-31 19:29:40 +0000
commit304b42d00edfbb73aeb3fe85b6f3a4234f25ec6c (patch)
tree6056b9f37743cff272938ea21dedd910729381d6 /src/news_gui.cpp
parent6c126cc5c89861b11f1eabb8c69323d1c974d4af (diff)
downloadopenttd-304b42d00edfbb73aeb3fe85b6f3a4234f25ec6c.tar.xz
(svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp)
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index e0d711312..2e73e9621 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -223,7 +223,7 @@ struct NewsWindow : Window {
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);
+ DrawString(2, this->width - 2, 1, STR_DATE_LONG_SMALL, TC_FROMSTRING, SA_RIGHT);
if (!(this->ni->flags & NF_VIEWPORT)) {
CopyInDParam(0, this->ni->params, lengthof(this->ni->params));