astyle formatting

This commit is contained in:
Daniel Marjamäki 2015-02-13 16:36:47 +01:00
parent 5674b3c49d
commit 6afe2e9fdc
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ std::string Path::simplifyPath(std::string originalPath)
} else if (i > 0 && pathParts[i] == ".") {
pathParts.erase(pathParts.begin() + static_cast<int>(i));
i = 0;
// Don't touch leading "//" which means a UNC path
// Don't touch leading "//" which means a UNC path
} else if (i > 1 && pathParts[i] == "/" && pathParts[i-1] == "/") {
pathParts.erase(pathParts.begin() + static_cast<int>(i) - 1);
i = 0;