mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 04:13:26 +00:00
(svn r16283) -Fix [FS#2890]: news ticker truncated too early
This commit is contained in:
parent
9e6e0c6b09
commit
c96dac5443
@ -57,7 +57,7 @@ static bool DrawScrollingStatusText(const NewsItem *ni, int pos, int width)
|
||||
DrawPixelInfo *old_dpi = _cur_dpi;
|
||||
_cur_dpi = &tmp_dpi;
|
||||
|
||||
int x = DrawString(pos, pos + width, 0, buffer, TC_LIGHT_BLUE);
|
||||
int x = DrawString(pos, INT16_MAX, 0, buffer, TC_LIGHT_BLUE);
|
||||
_cur_dpi = old_dpi;
|
||||
|
||||
return x > 0;
|
||||
|
Loading…
Reference in New Issue
Block a user