From 210ada1b514a173de5a2426f99cd25c95b23efaf Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 12 Aug 2004 17:49:16 +0000 Subject: (svn r27) -Fix: [1006715] Autorenew issues -Add: PE_CURRENCY to patchmenu --- strings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'strings.c') diff --git a/strings.c b/strings.c index 7f81f55b2..a017c9d20 100644 --- a/strings.c +++ b/strings.c @@ -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; -- cgit v1.2.3-54-g00ecf