equal
deleted
inserted
replaced
318 |
318 |
319 for(src = GetStringPtr(STR_MONTH_JAN + ymd.month); (*buff++=*src++) != 0;) {} |
319 for(src = GetStringPtr(STR_MONTH_JAN + ymd.month); (*buff++=*src++) != 0;) {} |
320 buff[-1] = ' '; |
320 buff[-1] = ' '; |
321 |
321 |
322 return FormatNoCommaNumber(buff, ymd.year + 1920); |
322 return FormatNoCommaNumber(buff, ymd.year + 1920); |
|
323 } |
|
324 |
|
325 uint GetCurrentCurrencyRate() { |
|
326 return (&_currency_specs[_opt.currency])->rate; |
323 } |
327 } |
324 |
328 |
325 static byte *FormatGenericCurrency(byte *buff, const CurrencySpec *spec, int64 number, bool compact) |
329 static byte *FormatGenericCurrency(byte *buff, const CurrencySpec *spec, int64 number, bool compact) |
326 { |
330 { |
327 const char *s; |
331 const char *s; |