summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index f2cbea050..ffce9897e 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -183,7 +183,7 @@ unsigned long findI(std::string str, std::list<std::string> &list)
str = toLower(str);
unsigned long idx;
for (std::list<std::string>::iterator i = list.begin();
- i != list.end(); i++)
+ i != list.end(); ++i)
{
std::string subStr = toLower(*i);
idx = str.find(subStr);
@@ -362,5 +362,5 @@ void replaceSpecialChars(std::string &text)
std::string normalize(const std::string &name)
{
std::string normalized = name;
- return toLower(trim(normalized));;
+ return toLower(trim(normalized));
}