From a8a89d1961998a0dffbafbec3de90774933ca515 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Fri, 30 Dec 2016 18:10:37 -0600 Subject: Whitespace cleanup Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd --- exclude.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exclude.cpp') diff --git a/exclude.cpp b/exclude.cpp index 789c246e2..8ce138ad7 100644 --- a/exclude.cpp +++ b/exclude.cpp @@ -100,8 +100,8 @@ bool TWExclude::check_absolute_skip_dirs(const string& path) { bool TWExclude::check_skip_dirs(const string& path) { string normalized = TWFunc::Remove_Trailing_Slashes(path); size_t slashIdx = normalized.find_last_of('/'); - if(slashIdx != std::string::npos && slashIdx+1 < normalized.size()) { - if(check_relative_skip_dirs(normalized.substr(slashIdx+1))) + if (slashIdx != std::string::npos && slashIdx+1 < normalized.size()) { + if (check_relative_skip_dirs(normalized.substr(slashIdx+1))) return true; } return check_absolute_skip_dirs(normalized); -- cgit v1.2.3