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 | 1b27095c830d0e9fb399cf5340d2cf58db388e21 (patch) | |
tree | ffd3d611e2ebf0a91d072c95d635063bf018b1fd /src/group_gui.cpp | |
parent | 0d8e82b7d742b54216bf6bc8a1d3b4eafe8124ab (diff) | |
download | openttd-1b27095c830d0e9fb399cf5340d2cf58db388e21.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)) { |