Fix error and removed debugging

in platform_get_locale_currency()
This commit is contained in:
Thomas 2015-02-21 17:26:38 +01:00
parent 7bc4c4270d
commit acad7af40e
1 changed files with 1 additions and 2 deletions

View File

@ -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){