diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-26 00:51:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-27 20:33:15 +0300 |
commit | 0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch) | |
tree | f577edeae7b4866d68c084a1eaa229e98c80ea8f /src/resources/db/languagedb.cpp | |
parent | 2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff) | |
download | mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2 mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip |
Remove extra ; from different code.
Diffstat (limited to 'src/resources/db/languagedb.cpp')
-rw-r--r-- | src/resources/db/languagedb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/db/languagedb.cpp b/src/resources/db/languagedb.cpp index 92ae888de..5f162223a 100644 --- a/src/resources/db/languagedb.cpp +++ b/src/resources/db/languagedb.cpp @@ -42,7 +42,7 @@ void LanguageDb::load() logger->log1("Initializing languages database..."); loadXmlFile(paths.getStringValue("languagesFile"), SkipError_false); loadXmlFile(paths.getStringValue("languagesPatchFile"), SkipError_true); - loadXmlDir("languagesPatchDir", loadXmlFile); + loadXmlDir("languagesPatchDir", loadXmlFile) } void LanguageDb::loadXmlFile(const std::string &fileName, @@ -73,14 +73,14 @@ void LanguageDb::loadXmlFile(const std::string &fileName, const int id = XML::getProperty(node, "id", -1); if (id < 0) { - reportAlways("Missing lang id"); + reportAlways("Missing lang id") continue; } const std::string icon = XML::getProperty(node, "icon", ""); const std::string po = XML::getProperty(node, "po", ""); if (icon.empty()) { - reportAlways("LanguageDb: empty icon field"); + reportAlways("LanguageDb: empty icon field") } else { @@ -88,7 +88,7 @@ void LanguageDb::loadXmlFile(const std::string &fileName, } if (po.empty()) { - reportAlways("LanguageDb: empty po field"); + reportAlways("LanguageDb: empty po field") } else { |