diff options
author | Johannes Schickel | 2010-06-26 23:01:12 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-06-26 23:01:12 +0000 |
commit | 4ec0827551a9448a2020ae9112b5b000ffd0d009 (patch) | |
tree | c4d525378b1580494fb983eab0b5d2ddad353b8e | |
parent | b7ab6ca3f16b4371b1a99caf041d0998e1c10fa3 (diff) | |
download | scummvm-rg350-4ec0827551a9448a2020ae9112b5b000ffd0d009.tar.gz scummvm-rg350-4ec0827551a9448a2020ae9112b5b000ffd0d009.tar.bz2 scummvm-rg350-4ec0827551a9448a2020ae9112b5b000ffd0d009.zip |
Add some explanation why we can not just use setlocale on Win32.
svn-id: r50354
-rw-r--r-- | common/translation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/translation.cpp b/common/translation.cpp index bf37cbd953..3c5ff4d3c7 100644 --- a/common/translation.cpp +++ b/common/translation.cpp @@ -53,6 +53,9 @@ namespace Common { TranslationManager::TranslationManager() { #ifdef USE_DETECTLANG #ifdef WIN32 + // We can not use "setlocale" (at least not for MSVC builds), since it + // will return locales like: "English_USA.1252", thus we need a special + // way to determine the locale string for Win32. char langName[9]; char ctryName[9]; |