diff options
author | rubidium <rubidium@openttd.org> | 2009-05-12 19:59:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-12 19:59:33 +0000 |
commit | c96dac54432ef0281ed7334296448ed1620f3306 (patch) | |
tree | 19a398c2d5fe3cc8a0bbf87b329308a669b8ead9 /src/statusbar_gui.cpp | |
parent | 9e6e0c6b095cdd96fe38e7ff6442892f028a7f86 (diff) | |
download | openttd-c96dac54432ef0281ed7334296448ed1620f3306.tar.xz |
(svn r16283) -Fix [FS#2890]: news ticker truncated too early
Diffstat (limited to 'src/statusbar_gui.cpp')
-rw-r--r-- | src/statusbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp index 89b2680bd..f07e50fa0 100644 --- a/src/statusbar_gui.cpp +++ b/src/statusbar_gui.cpp @@ -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; |