summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-15 21:39:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-15 21:39:03 +0300
commit3133a725a57e275b76cccd0866cab6a00a07d1a6 (patch)
treeb5abce4046623ea08467897d8aea27fe0619b5b5 /src/utils/stringutils.cpp
parent6c3ab80385465cdaf88643fd964706827e2b61d6 (diff)
downloadplus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.gz
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.bz2
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.xz
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.zip
Fix code style.
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 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;
}