(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.

This commit is contained in:
rubidium
2009-03-21 22:22:00 +00:00
parent 9003641095
commit 69decac406
11 changed files with 22 additions and 51 deletions

View File

@@ -216,7 +216,7 @@ struct NewsWindow : Window {
DrawString(2, 1, STR_00C6, TC_FROMSTRING);
SetDParam(0, this->ni->date);
DrawStringRightAligned(428, 1, STR_01FF, TC_FROMSTRING);
DrawString(1, this->width - 1, 1, STR_01FF, TC_FROMSTRING, SA_RIGHT);
if (!(this->ni->flags & NF_VIEWPORT)) {
CopyInDParam(0, this->ni->params, lengthof(this->ni->params));