summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileSearch.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-03-10 23:40:16 +0100
committerPierre Bourdon <delroth@gmail.com>2014-03-10 23:40:16 +0100
commitede46556d9b5043113e19359fee97eb09f9c872c (patch)
tree54442e504fc06d44e80a7351be46a1fead5ad356 /Source/Core/Common/FileSearch.cpp
parent52ed10213d085caec6007ae3b3856e50f282c756 (diff)
parent31cfc73a09a8685cbab20502b4bc132e98e2feb5 (diff)
Merge pull request #155 from Parlane/codestyle_fixes
Fixes spacing for "for", "while", "switch" and "if"
Diffstat (limited to 'Source/Core/Common/FileSearch.cpp')
-rw-r--r--Source/Core/Common/FileSearch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/FileSearch.cpp b/Source/Core/Common/FileSearch.cpp
index 2fe3604f9c..84026dd4c9 100644
--- a/Source/Core/Common/FileSearch.cpp
+++ b/Source/Core/Common/FileSearch.cpp
@@ -78,9 +78,9 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string&
{
std::string found(dp->d_name);
- if ((found != ".") && (found != "..")
- && (found.size() >= end_match.size())
- && std::equal(end_match.rbegin(), end_match.rend(), found.rbegin()))
+ if ((found != ".") && (found != "..") &&
+ (found.size() >= end_match.size()) &&
+ std::equal(end_match.rbegin(), end_match.rend(), found.rbegin()))
{
std::string full_name;
if (_strPath.c_str()[_strPath.size()-1] == DIR_SEP_CHR)