summaryrefslogtreecommitdiff
path: root/player_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-20 10:50:23 +0000
committerrubidium <rubidium@openttd.org>2006-08-20 10:50:23 +0000
commite2ce56144e49f119e3b138904b28482c874994e8 (patch)
tree0318097a982d451f4e952e486ef2f399c5b7e4bc /player_gui.c
parent5ae6080913d3854831ea0252ca19fa6f4f7db01a (diff)
downloadopenttd-e2ce56144e49f119e3b138904b28482c874994e8.tar.xz
(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
Diffstat (limited to 'player_gui.c')
-rw-r--r--player_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player_gui.c b/player_gui.c
index 1c106e566..9f5aea362 100644
--- a/player_gui.c
+++ b/player_gui.c
@@ -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 */