aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-11-26 10:40:19 +0000
committerJordi Vilalta Prat2010-11-26 10:40:19 +0000
commit10476048f89ae0987d8883446ceba4594ff94a6e (patch)
tree8c112b324188d08a36124a24f5408c76a269a97c /backends/platform/sdl
parentce9f7c0df155a2b61a9d97f3fa7db1cb47fc3655 (diff)
downloadscummvm-rg350-10476048f89ae0987d8883446ceba4594ff94a6e.tar.gz
scummvm-rg350-10476048f89ae0987d8883446ceba4594ff94a6e.tar.bz2
scummvm-rg350-10476048f89ae0987d8883446ceba4594ff94a6e.zip
I18N: Fix language detection in UNIX (not everyone speaks German yet)
svn-id: r54494
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 9bebc63830..978f394963 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -733,7 +733,7 @@ Common::Language OSystem_SDL::getSystemLanguage() const {
}
#else // WIN32
// Activating current locale settings
- const char *locale = "de_DE.utf8";//setlocale(LC_ALL, "");
+ const char *locale = setlocale(LC_ALL, "");
// Detect the language from the locale
if (!locale) {