forked from rosebudai/OpenRCT2-Web
fix errors and warnings with mingw
This commit is contained in:
1 parent
1a724da182
commit
305cef2f75
6 files changed
+13
-12
No files matched your search
+2
-2
@@ -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