diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-18 14:06:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-18 14:06:01 +0300 |
commit | 57312118cd48780f898ba00cddca4bd50b3191e7 (patch) | |
tree | 00fb57bcdf5015502d79995c2f203c142193f8ff /src/utils/langs.cpp | |
parent | d6997f80a718255b5763a73e97ff9a0ff990d338 (diff) | |
download | ManaVerse-57312118cd48780f898ba00cddca4bd50b3191e7.tar.gz ManaVerse-57312118cd48780f898ba00cddca4bd50b3191e7.tar.bz2 ManaVerse-57312118cd48780f898ba00cddca4bd50b3191e7.tar.xz ManaVerse-57312118cd48780f898ba00cddca4bd50b3191e7.zip |
add missing const to langs.cpp
Diffstat (limited to 'src/utils/langs.cpp')
-rw-r--r-- | src/utils/langs.cpp | 2 |
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"); |