1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

fix errors and warnings with mingw

This commit is contained in:
anyc
2014-07-31 00:11:01 +02:00
parent 1a724da182
commit 305cef2f75
6 changed files with 13 additions and 12 deletions

View File

@@ -1230,7 +1230,7 @@ void format_currency(char **dest, int value)
}
// Currency symbol
char *symbol = &(g_currency_specs[gGeneral_config.currency_format].symbol);
const char *symbol = g_currency_specs[gGeneral_config.currency_format].symbol;
// Prefix
if (g_currency_specs[gGeneral_config.currency_format].prefix) {
strcpy(*dest, symbol);
@@ -1259,7 +1259,7 @@ void format_currency_2dp(char **dest, int value)
}
// Currency symbol
char *symbol = &(g_currency_specs[gGeneral_config.currency_format].symbol);
const char *symbol = g_currency_specs[gGeneral_config.currency_format].symbol;
// Prefix
if (g_currency_specs[gGeneral_config.currency_format].prefix) {
strcpy(*dest, symbol);