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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/langs.cpp b/src/utils/langs.cpp
index 55fdc16d6..5b8d979a1 100644
--- a/src/utils/langs.cpp
+++ b/src/utils/langs.cpp
@@ -54,7 +54,7 @@ LangVect getLang()
std::string getLangSimple()
{
- std::string lang = config.getStringValue("lang").c_str();
+ const std::string lang = config.getStringValue("lang").c_str();
if (lang.empty())
{
const char *const lng = getenv("LANG");