diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-18 14:37:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-18 14:49:53 +0300 |
commit | be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22 (patch) | |
tree | f26591cf82914d30853a1a0d556742c5ec801de8 /src/client.cpp | |
parent | 9f89a15fbcaf3f24f4c941b7061979e424d6384a (diff) | |
download | plus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.gz plus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.bz2 plus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.xz plus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.zip |
Simplify reading values from config.
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 02e4b54df..cb947ea53 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -320,7 +320,7 @@ void Client::gameInit() storeSafeParameters(); #ifdef ENABLE_NLS - std::string lang = config.getValue("lang", ""); + std::string lang = config.getStringValue("lang"); #ifdef WIN32 if (lang.empty()) lang = std::string(_nl_locale_name_default()); |