Mercurial > hg > openttd
changeset 12076:85ac38268929 draft
(svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp)
author | alberth <alberth@openttd.org> |
---|---|
date | Sun, 31 May 2009 19:29:40 +0000 |
parents | 8c5224ed7d4a |
children | c46018bb1371 |
files | src/news_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -223,7 +223,7 @@ 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));