summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-18 14:37:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-18 14:49:53 +0300
commitbe7d563ba1e0b20cfe397f2cf4da6f7e3df78d22 (patch)
treef26591cf82914d30853a1a0d556742c5ec801de8 /src/client.cpp
parent9f89a15fbcaf3f24f4c941b7061979e424d6384a (diff)
downloadmanaplus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.gz
manaplus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.bz2
manaplus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.xz
manaplus-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.zip
Simplify reading values from config.
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 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());