1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

fix format_string currency 2dp

This commit is contained in:
IntelOrca
2014-05-31 16:57:00 +01:00
parent b5575d31eb
commit 7ae52df001

View File

@@ -1285,9 +1285,7 @@ void format_currency_2dp(char **dest, int value)
*dest = dst;
// Two decimal places
digit = value % 10;
value /= 10;
*dst++ = '0' + digit;
*dst++ = '0';
digit = value % 10;
value /= 10;
*dst++ = '0' + digit;