From 57312118cd48780f898ba00cddca4bd50b3191e7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Apr 2013 14:06:01 +0300 Subject: add missing const to langs.cpp --- src/utils/langs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/langs.cpp') 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"); -- cgit v1.2.3-70-g09d2