X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftinygettext%2Ftinygettext.cpp;h=17a029278c88467de9f60c76a979fd97271d3e34;hb=a983f6648d43492632c41e2b7519b70458b53cf4;hp=bcab14d5c45f73820e15f8ffca406bc9288621fe;hpb=1a6dbe26f00e7f9eabb65a1844ab7d2aa5648126;p=supertux.git diff --git a/src/tinygettext/tinygettext.cpp b/src/tinygettext/tinygettext.cpp index bcab14d5c..17a029278 100644 --- a/src/tinygettext/tinygettext.cpp +++ b/src/tinygettext/tinygettext.cpp @@ -287,7 +287,7 @@ DictionaryManager::get_dictionary(const std::string& spec) } } } - + // if it matched, load dictionary if (load_from_file != "") { //log_debug << "Loading dictionary for language \"" << lang << "\" from \"" << filename << "\"" << std::endl; @@ -383,7 +383,7 @@ DictionaryManager::get_language_from_spec(const std::string& spec) s = lang.find("_"); if(s == std::string::npos) { std::string lang_big = lang; - std::transform (lang_big.begin(), lang_big.end(), lang_big.begin(), toupper); + std::transform (lang_big.begin(), lang_big.end(), lang_big.begin(), toupper); lang += "_" + lang_big; }