diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-22 17:07:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-22 17:07:50 +0300 |
commit | 4aada89a99e81574db3e662b9c354cde0cd4440d (patch) | |
tree | 970264d1f52215ad563ce90fd4a86e92e8cbaddf /src/gui/windows/skilldialog.cpp | |
parent | 04dd5dab7669440d4d5e4bb4d72002ab7fb38912 (diff) | |
download | mv-4aada89a99e81574db3e662b9c354cde0cd4440d.tar.gz mv-4aada89a99e81574db3e662b9c354cde0cd4440d.tar.bz2 mv-4aada89a99e81574db3e662b9c354cde0cd4440d.tar.xz mv-4aada89a99e81574db3e662b9c354cde0cd4440d.zip |
Fix style issues.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 23dc82e46..d3d6c9272 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -346,7 +346,7 @@ void SkillDialog::loadXmlFile(const std::string &fileName, const std::string setTypeStr = XML::getProperty(set, "type", ""); SkillSetTypeT setType = SkillSetType::VerticalList; - if (setTypeStr == "" || + if (setTypeStr.empty() || setTypeStr == "list" || setTypeStr == "vertical") { |