diff options
author | rubidium <rubidium@openttd.org> | 2009-03-21 22:46:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-21 22:46:17 +0000 |
commit | f11300d1f95afd4aef64f994aecaaa5af446bf04 (patch) | |
tree | e1ae57a53d4852b46ae40e594822c459c6ed726a /src/statusbar_gui.cpp | |
parent | ce513b46b7d69e2ff53982341b214da07c9a8a1e (diff) | |
download | openttd-f11300d1f95afd4aef64f994aecaaa5af446bf04.tar.xz |
(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
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 27d62f4cd..e8636f790 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 = DoDrawString(buffer, pos, 0, TC_LIGHT_BLUE); + int x = DrawString(pos, pos + width, 0, buffer, TC_LIGHT_BLUE); _cur_dpi = old_dpi; return x > 0; |