summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-27 05:57:14 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-27 05:57:14 +0300
commit88487446af6f9e01fe27b63e7710c991b998d4b9 (patch)
tree9deb5d8be7040337c2b7c9d3e19d5823640e05ff
parent12bf548533867a2eb3a1c354b778ef7f9157322a (diff)
downloadplus-88487446af6f9e01fe27b63e7710c991b998d4b9.tar.gz
plus-88487446af6f9e01fe27b63e7710c991b998d4b9.tar.bz2
plus-88487446af6f9e01fe27b63e7710c991b998d4b9.tar.xz
plus-88487446af6f9e01fe27b63e7710c991b998d4b9.zip
Fix lower chars issue.
-rw-r--r--src/utils/stringutils.cpp2
-rw-r--r--src/utils/stringutils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 317d88f2d..361bc860c 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -181,7 +181,7 @@ unsigned long findI(std::string str, std::string subStr)
return str.find(subStr);
}
-unsigned long findI(std::string &text, std::vector<std::string> &list)
+unsigned long findI(std::string text, std::vector<std::string> &list)
{
std::string str = toLower(text);
unsigned long idx;
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 25e038a89..c0457bc52 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -133,7 +133,7 @@ bool isWordSeparator(char chr);
unsigned long findI(std::string str, std::string subStr);
-unsigned long findI(std::string &text, std::vector<std::string> &list);
+unsigned long findI(std::string text, std::vector<std::string> &list);
const std::string encodeStr(unsigned int value, unsigned int size = 0);