From acad7af40ee9556e0c5dfa2cb4892db902c83f29 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 21 Feb 2015 17:26:38 +0100 Subject: [PATCH] Fix error and removed debugging in platform_get_locale_currency() --- src/platform/windows.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/platform/windows.c b/src/platform/windows.c index 2e95408715..7517d30fa7 100644 --- a/src/platform/windows.c +++ b/src/platform/windows.c @@ -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){