(svn r5967) -Change: use right alignment for the year in the player's balance window instead of centering (about) 'string width' / 2 from the right edge

This commit is contained in:
rubidium
2006-08-20 10:50:23 +00:00
parent 5ae6080913
commit e2ce56144e
3 changed files with 15 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ static void DrawPlayerEconomyStats(const Player *p, byte mode)
do {
if (year >= BASE_YEAR + p->inaugurated_year) {
SetDParam(0, year);
DrawStringCenterUnderline(x-17, 15, STR_7010, 0);
DrawStringRightAlignedUnderline(x, 15, STR_7010, 0);
sum = 0;
for (i = 0; i != 13; i++) {
/* draw one row in the price column */