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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user