mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 20:34:41 +00:00
(svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp)
This commit is contained in:
parent
6c126cc5c8
commit
304b42d00e
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user