Mercurial > hg > openttd
changeset 11502:72dfe7970dd7 draft
(svn r15863) -Fix (r15791): company money and game date strings were swapped on the statusbar
author | smatz <smatz@openttd.org> |
---|---|
date | Thu, 26 Mar 2009 22:13:00 +0000 |
parents | e19ae1fe26c0 |
children | 9272c49b41d7 |
files | src/statusbar_gui.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/statusbar_gui.cpp +++ b/src/statusbar_gui.cpp @@ -97,12 +97,12 @@ this->DrawWidgets(); SetDParam(0, _date); - DrawString(this->widget[SBW_RIGHT].left + 1, this->widget[SBW_RIGHT].right - 1, 1, (_pause_game || _settings_client.gui.status_long_date) ? STR_00AF : STR_00AE, TC_FROMSTRING, SA_CENTER); + DrawString(this->widget[SBW_LEFT].left + 1, this->widget[SBW_LEFT].right - 1, 1, (_pause_game || _settings_client.gui.status_long_date) ? STR_00AF : STR_00AE, TC_FROMSTRING, SA_CENTER); if (c != NULL) { /* Draw company money */ SetDParam(0, c->money); - DrawString(this->widget[SBW_LEFT].left + 1, this->widget[SBW_LEFT].right - 1, 1, STR_0004, TC_FROMSTRING, SA_CENTER); + DrawString(this->widget[SBW_RIGHT].left + 1, this->widget[SBW_RIGHT].right - 1, 1, STR_0004, TC_FROMSTRING, SA_CENTER); } /* Draw status bar */