filelister: use '\\' instead of '/' in windows paths
This commit is contained in:
parent
45c30f0c87
commit
6b52ee03cf
|
@ -165,7 +165,7 @@ void FileLister::RecursiveAddFiles(std::vector<std::string> &filenames, const st
|
||||||
std::ostringstream bdir, oss;
|
std::ostringstream bdir, oss;
|
||||||
|
|
||||||
std::string cleanedPath = path;
|
std::string cleanedPath = path;
|
||||||
std::replace(cleanedPath.begin(), cleanedPath.end(), '\\', '/');
|
std::replace(cleanedPath.begin(), cleanedPath.end(), '/', '\\');
|
||||||
|
|
||||||
oss << cleanedPath;
|
oss << cleanedPath;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue