diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 14:54:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 14:54:51 +0000 |
commit | eb1472a82d8007a1deddc25ae81f872e7a91abe5 (patch) | |
tree | ffd3d611e2ebf0a91d072c95d635063bf018b1fd /src/group_gui.cpp | |
parent | f806b46cc967202db3d2fbf3384d0f037c13ed8a (diff) | |
download | openttd-eb1472a82d8007a1deddc25ae81f872e7a91abe5.tar.xz |
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 4d19ba925..b7b15a81e 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -461,8 +461,8 @@ static void GroupWndProc(Window *w, WindowEvent *e) STR_PROFIT_GOOD_THIS_YEAR_GOOD_LAST_YEAR; } - SetDParam(0, v->profit_this_year); - SetDParam(1, v->profit_last_year); + SetDParamMoney(0, v->profit_this_year); + SetDParamMoney(1, v->profit_last_year); DrawString(x + 19, y2 + w->resize.step_height - 8, str, 0); if (IsValidGroupID(v->group_id)) { |