summaryrefslogtreecommitdiff
path: root/src/utils/langs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/langs.cpp')
-rw-r--r--src/utils/langs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/langs.cpp b/src/utils/langs.cpp
index bc2837a27..0b97921fa 100644
--- a/src/utils/langs.cpp
+++ b/src/utils/langs.cpp
@@ -34,7 +34,7 @@ LangVect getLang()
{
LangVect langs;
- std::string lang = config.getValue("lang", "").c_str();
+ std::string lang = config.getStringValue("lang").c_str();
if (lang.empty())
{
const char *const lng = getenv("LANG");
@@ -55,7 +55,7 @@ LangVect getLang()
std::string getLangSimple()
{
- std::string lang = config.getValue("lang", "").c_str();
+ std::string lang = config.getStringValue("lang").c_str();
if (lang.empty())
{
const char *const lng = getenv("LANG");
@@ -68,7 +68,7 @@ std::string getLangSimple()
std::string getLangShort()
{
- std::string lang = config.getValue("lang", "").c_str();
+ std::string lang = config.getStringValue("lang").c_str();
if (lang.empty())
{
const char *const lng = getenv("LANG");