(svn r27) -Fix: [1006715] Autorenew issues

-Add: PE_CURRENCY to patchmenu
This commit is contained in:
truelight
2004-08-12 17:49:16 +00:00
parent 4b0d4dd3fe
commit 210ada1b51
6 changed files with 70 additions and 13 deletions

View File

@@ -322,6 +322,10 @@ static byte *FormatMonthAndYear(byte *buff, uint16 number)
return FormatNoCommaNumber(buff, ymd.year + 1920);
}
uint GetCurrentCurrencyRate() {
return (&_currency_specs[_opt.currency])->rate;
}
static byte *FormatGenericCurrency(byte *buff, const CurrencySpec *spec, int64 number, bool compact)
{
const char *s;