(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API

This commit is contained in:
rubidium
2009-03-21 22:46:17 +00:00
parent 6900854383
commit a1088869f5
10 changed files with 35 additions and 58 deletions

View File

@@ -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;