summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
commit5c4c66c0873e2b21d87929ab7e3389883c4ee074 (patch)
tree1c14043c6b4d6089e0f15006f902b4ef8697be26 /src/utils/stringutils.cpp
parent43abb22c0626529c8465f25bd62b813898abe840 (diff)
downloadmanaverse-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.gz
manaverse-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.bz2
manaverse-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.xz
manaverse-5c4c66c0873e2b21d87929ab7e3389883c4ee074.zip
Fix code style.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index c91dfd932..6ec7817ed 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -588,7 +588,7 @@ std::string combineDye3(std::string file,
}
return file.append("|").append(str);
}
- if (dye.empty() || file.empty())
+ if (file.empty())
return file;
return file.append("|").append(dye);
}