Skip to content

Commit

Permalink
Fix FixPathCase bug when constructing the full path.
Browse files Browse the repository at this point in the history
Swap the append order for / and the path component.
  • Loading branch information
trilkk committed May 17, 2021
1 parent 4ec3ce5 commit 033d0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/FileSystems/DirectoryFileSystem.cpp
Expand Up @@ -151,8 +151,8 @@ bool FixPathCase(const std::string &basePath, std::string &path, FixPathCaseBeha

path.replace(start, i - start, component);

fullPath.append(component);
fullPath.append(1, '/');
fullPath.append(component);
}

start = i + 1;
Expand Down

0 comments on commit 033d0c3

Please sign in to comment.