From 6b52ee03cf20ddaa004aa3f0452bae3ee0a05ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 15 Feb 2009 07:58:34 +0000 Subject: [PATCH] filelister: use '\\' instead of '/' in windows paths --- src/filelister.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelister.cpp b/src/filelister.cpp index 9eb2e73bf..5baea0065 100644 --- a/src/filelister.cpp +++ b/src/filelister.cpp @@ -165,7 +165,7 @@ void FileLister::RecursiveAddFiles(std::vector &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;