mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix format_string currency
This commit is contained in:
parent
7ae52df001
commit
b701eb8222
|
@ -1233,6 +1233,7 @@ void format_currency(char **dest, int value)
|
|||
|
||||
*dest = dst;
|
||||
|
||||
value /= 10;
|
||||
if (value == 0) {
|
||||
*dst++ = '0';
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue