summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-10 18:13:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-10 18:44:01 +0300
commit2217f045be820bedaf18c5c196f20102edaace53 (patch)
tree479ef98f15001694f90dba2cf1a172c4d4151247 /src/client.cpp
parent03c15cd2ca4587d8bb275df738a9841081cb12f3 (diff)
downloadplus-2217f045be820bedaf18c5c196f20102edaace53.tar.gz
plus-2217f045be820bedaf18c5c196f20102edaace53.tar.bz2
plus-2217f045be820bedaf18c5c196f20102edaace53.tar.xz
plus-2217f045be820bedaf18c5c196f20102edaace53.zip
Fix language switching in windows.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
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());