filelister: use '\\' instead of '/' in windows paths

This commit is contained in:
Daniel Marjamäki 2009-02-15 07:58:34 +00:00
parent 45c30f0c87
commit 6b52ee03cf
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void FileLister::RecursiveAddFiles(std::vector<std::string> &filenames, const st
std::ostringstream bdir, oss;
std::string cleanedPath = path;
std::replace(cleanedPath.begin(), cleanedPath.end(), '\\', '/');
std::replace(cleanedPath.begin(), cleanedPath.end(), '/', '\\');
oss << cleanedPath;