1
0
mirror of synced 2024-11-28 09:30:51 +01:00

fix: Mixed path separators in default paths

This commit is contained in:
WerWolv 2024-06-23 15:03:36 +02:00
parent 7d4486f407
commit a002eb1bc1

View File

@ -84,7 +84,9 @@ namespace hex::paths {
#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)
path = path / folder;