From 3133a725a57e275b76cccd0866cab6a00a07d1a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Mar 2013 21:39:03 +0300 Subject: Fix code style. --- src/utils/stringutils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/stringutils.cpp') 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; } -- cgit v1.2.3-70-g09d2