Address all the easy feedback. Some is left.

This commit is contained in:
Henrik Rydgård
2021-05-11 09:50:28 +02:00
parent 8727679353
commit 47039b4bcd
17 changed files with 30 additions and 34 deletions

View File

@@ -180,9 +180,7 @@ Path DirectoryFileHandle::GetLocalPath(const Path &basePath, std::string localpa
if (localpath[0] == '/')
localpath.erase(0, 1);
Path result = basePath / localpath;
// TODO?: Windows used to translate to backslashes here.
return result;
return basePath / localpath;
}
bool DirectoryFileHandle::Open(const Path &basePath, std::string &fileName, FileAccess access, u32 &error) {