mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +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
5207900285
commit
02c1ed111d
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user