diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-12-10 18:13:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-12-10 18:44:01 +0300 |
commit | 2217f045be820bedaf18c5c196f20102edaace53 (patch) | |
tree | 479ef98f15001694f90dba2cf1a172c4d4151247 /src/client.cpp | |
parent | 03c15cd2ca4587d8bb275df738a9841081cb12f3 (diff) | |
download | mv-2217f045be820bedaf18c5c196f20102edaace53.tar.gz mv-2217f045be820bedaf18c5c196f20102edaace53.tar.bz2 mv-2217f045be820bedaf18c5c196f20102edaace53.tar.xz mv-2217f045be820bedaf18c5c196f20102edaace53.zip |
Fix language switching in windows.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index fefb5bc71..d2b26f662 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -295,7 +295,7 @@ Client::Client(const Options &options): #if ENABLE_NLS std::string lang = config.getValue("lang", ""); #ifdef WIN32 - if (!lang.empty()) + if (lang.empty()) lang = std::string(_nl_locale_name_default()); putenv((char*)("LANG=" + lang).c_str()); |