From c96dac54432ef0281ed7334296448ed1620f3306 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 12 May 2009 19:59:33 +0000 Subject: [PATCH] (svn r16283) -Fix [FS#2890]: news ticker truncated too early --- src/statusbar_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp index 89b2680bd5..f07e50fa07 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;