Windows: Fix FileLister to send full paths instead of only filenames.

This commit is contained in:
Kimmo Varis 2009-05-30 13:22:08 +03:00
parent 76f5c9ef19
commit 0a9f6bc631
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ void FileLister::RecursiveAddFiles(std::vector<std::string> &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);