(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.

This commit is contained in:
rubidium
2007-06-21 14:54:51 +00:00
parent 0d8e82b7d7
commit 1b27095c83
22 changed files with 75 additions and 73 deletions

View File

@@ -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)) {