summaryrefslogtreecommitdiff
path: root/src/utils/langs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-18 14:06:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-18 14:06:01 +0300
commit57312118cd48780f898ba00cddca4bd50b3191e7 (patch)
tree00fb57bcdf5015502d79995c2f203c142193f8ff /src/utils/langs.cpp
parentd6997f80a718255b5763a73e97ff9a0ff990d338 (diff)
downloadmv-57312118cd48780f898ba00cddca4bd50b3191e7.tar.gz
mv-57312118cd48780f898ba00cddca4bd50b3191e7.tar.bz2
mv-57312118cd48780f898ba00cddca4bd50b3191e7.tar.xz
mv-57312118cd48780f898ba00cddca4bd50b3191e7.zip
add missing const to langs.cpp
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");