From 0a9f6bc63166079e462b455dbacdd65d32ed37ac Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sat, 30 May 2009 13:22:08 +0300 Subject: [PATCH] Windows: Fix FileLister to send full paths instead of only filenames. --- src/filelister.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelister.cpp b/src/filelister.cpp index 958bf0107..e40c94458 100644 --- a/src/filelister.cpp +++ b/src/filelister.cpp @@ -212,7 +212,7 @@ void FileLister::RecursiveAddFiles(std::vector &filenames, const st else { std::string::size_type pos; - pos = path.find_last_of('\\'); + pos = cleanedPath.find_last_of('\\'); if (std::string::npos != pos) { bdir << cleanedPath.substr(0, pos + 1);