Windows: Fix FileLister to send full paths instead of only filenames.
This commit is contained in:
parent
76f5c9ef19
commit
0a9f6bc631
|
@ -212,7 +212,7 @@ void FileLister::RecursiveAddFiles(std::vector<std::string> &filenames, const st
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
std::string::size_type pos;
|
std::string::size_type pos;
|
||||||
pos = path.find_last_of('\\');
|
pos = cleanedPath.find_last_of('\\');
|
||||||
if (std::string::npos != pos)
|
if (std::string::npos != pos)
|
||||||
{
|
{
|
||||||
bdir << cleanedPath.substr(0, pos + 1);
|
bdir << cleanedPath.substr(0, pos + 1);
|
||||||
|
|
Loading…
Reference in New Issue