summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-22 17:07:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-22 17:07:50 +0300
commit4aada89a99e81574db3e662b9c354cde0cd4440d (patch)
tree970264d1f52215ad563ce90fd4a86e92e8cbaddf /src/gui/windows/skilldialog.cpp
parent04dd5dab7669440d4d5e4bb4d72002ab7fb38912 (diff)
downloadmv-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.cpp2
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")
{