diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-15 21:39:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-15 21:39:03 +0300 |
commit | 3133a725a57e275b76cccd0866cab6a00a07d1a6 (patch) | |
tree | b5abce4046623ea08467897d8aea27fe0619b5b5 /src/utils/stringutils.cpp | |
parent | 6c3ab80385465cdaf88643fd964706827e2b61d6 (diff) | |
download | manaplus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.gz manaplus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.bz2 manaplus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.xz manaplus-3133a725a57e275b76cccd0866cab6a00a07d1a6.zip |
Fix code style.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 1994cda98..f1fd8d82b 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -206,12 +206,12 @@ size_t findI(std::string str, std::string subStr) size_t findI(std::string text, StringVect &list) { - std::string str = toLower(text); + toLower(text); FOR_EACH (StringVectCIter, i, list) { std::string subStr = *i; subStr = toLower(subStr); - const size_t idx = str.find(subStr); + const size_t idx = text.find(subStr); if (idx != std::string::npos) return idx; } |