(svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp)

This commit is contained in:
alberth 2009-05-31 19:29:40 +00:00
parent 5207900285
commit 02c1ed111d

View File

@ -223,7 +223,7 @@ struct NewsWindow : Window {
DrawString(2, this->width - 1, 1, STR_SILVER_CROSS); DrawString(2, this->width - 1, 1, STR_SILVER_CROSS);
SetDParam(0, this->ni->date); 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)) { if (!(this->ni->flags & NF_VIEWPORT)) {
CopyInDParam(0, this->ni->params, lengthof(this->ni->params)); CopyInDParam(0, this->ni->params, lengthof(this->ni->params));