diff options
Diffstat (limited to 'Source/Internal/casecorrectpath.cpp')
-rw-r--r-- | Source/Internal/casecorrectpath.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Internal/casecorrectpath.cpp b/Source/Internal/casecorrectpath.cpp index 7f031265..9e1f92ff 100644 --- a/Source/Internal/casecorrectpath.cpp +++ b/Source/Internal/casecorrectpath.cpp @@ -31,14 +31,14 @@ using std::string; -bool IsPathCaseCorrect(const string& input_path, string *correct_case){ +bool IsPathCaseCorrect(const string& input_path, string* correct_case) { char correct_case_buf[kPathSize]; GetCaseCorrectPath(input_path.c_str(), correct_case_buf); *correct_case = correct_case_buf; - if(input_path.length() != correct_case->length()){ - return true; // Something weird happened, don't bother the user with error messages + if (input_path.length() != correct_case->length()) { + return true; // Something weird happened, don't bother the user with error messages } - if(input_path != *correct_case){ + if (input_path != *correct_case) { return false; } else { return true; |