mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix error and removed debugging
in platform_get_locale_currency()
This commit is contained in:
@@ -631,7 +631,6 @@ uint16 platform_get_locale_language(){
|
||||
else if (strcmp(langCode, "SVE") == 0){
|
||||
return LANGUAGE_SWEDISH;
|
||||
}
|
||||
printf("%s\n", langCode);
|
||||
return LANGUAGE_UNDEFINED;
|
||||
}
|
||||
|
||||
@@ -644,7 +643,7 @@ uint8 platform_get_locale_currency(){
|
||||
sizeof(currCode)) == 0){
|
||||
return CURRENCY_POUNDS;
|
||||
}
|
||||
if (wcscmp(strcmp, "GBP") == 0){
|
||||
if (strcmp(currCode, "GBP") == 0){
|
||||
return CURRENCY_POUNDS;
|
||||
}
|
||||
else if (strcmp(currCode, "USD") == 0){
|
||||
|
||||
Reference in New Issue
Block a user