From 02c1ed111d3ad99b1a93999acc410512d99cba6a Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 31 May 2009 19:29:40 +0000 Subject: [PATCH] (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(-) diff --git a/src/news_gui.cpp b/src/news_gui.cpp index e0d7113120..2e73e96216 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));