From 304b42d00edfbb73aeb3fe85b6f3a4234f25ec6c Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 31 May 2009 19:29:40 +0000 Subject: (svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp) --- src/news_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/news_gui.cpp') 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)); -- cgit v1.2.3-54-g00ecf