diff options
author | alberth <alberth@openttd.org> | 2009-05-31 19:29:40 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-05-31 19:29:40 +0000 |
commit | 304b42d00edfbb73aeb3fe85b6f3a4234f25ec6c (patch) | |
tree | 6056b9f37743cff272938ea21dedd910729381d6 /src | |
parent | 6c126cc5c89861b11f1eabb8c69323d1c974d4af (diff) | |
download | openttd-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')
-rw-r--r-- | src/news_gui.cpp | 2 |
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)); |