diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-27 05:57:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-27 05:57:14 +0300 |
commit | 88487446af6f9e01fe27b63e7710c991b998d4b9 (patch) | |
tree | 9deb5d8be7040337c2b7c9d3e19d5823640e05ff /src/utils | |
parent | 12bf548533867a2eb3a1c354b778ef7f9157322a (diff) | |
download | manaplus-88487446af6f9e01fe27b63e7710c991b998d4b9.tar.gz manaplus-88487446af6f9e01fe27b63e7710c991b998d4b9.tar.bz2 manaplus-88487446af6f9e01fe27b63e7710c991b998d4b9.tar.xz manaplus-88487446af6f9e01fe27b63e7710c991b998d4b9.zip |
Fix lower chars issue.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/stringutils.cpp | 2 | ||||
-rw-r--r-- | src/utils/stringutils.h | 2 |
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); |