fix: Mixed path separators in default paths
This commit is contained in:
parent
7d4486f407
commit
a002eb1bc1
@ -84,7 +84,9 @@ namespace hex::paths {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::vector<std::fs::path> appendPath(std::vector<std::fs::path> paths, const std::fs::path &folder) {
|
static std::vector<std::fs::path> appendPath(std::vector<std::fs::path> paths, std::fs::path folder) {
|
||||||
|
folder.make_preferred();
|
||||||
|
|
||||||
for (auto &path : paths)
|
for (auto &path : paths)
|
||||||
path = path / folder;
|
path = path / folder;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user