summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/translationmanager.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils/translation/translationmanager.cpp b/src/utils/translation/translationmanager.cpp
index 81fb612e4..dab6958d3 100644
--- a/src/utils/translation/translationmanager.cpp
+++ b/src/utils/translation/translationmanager.cpp
@@ -63,10 +63,7 @@ PoDict *TranslationManager::loadLang(LangVect lang,
std::string name = "";
PoParser parser;
- LangIter it = lang.begin();
- LangIter it_end = lang.end();
-
- for (; it != it_end; ++ it)
+ for (LangIter it = lang.begin(), it_end = lang.end(); it != it_end; ++ it)
{
if (*it == "C")
continue;