Fix FileLister::RecursiveAddFiles on files without a base path.
This commit is contained in:
parent
7fda68c662
commit
d6ffc63230
|
@ -153,9 +153,9 @@ void FileLister::RecursiveAddFiles( std::vector<std::string> &filenames, const s
|
||||||
{
|
{
|
||||||
std::ostringstream bdir, oss;
|
std::ostringstream bdir, oss;
|
||||||
oss << path;
|
oss << path;
|
||||||
bdir << path;
|
|
||||||
if ( path.length() > 0 && path[path.length()-1] == '/' )
|
if ( path.length() > 0 && path[path.length()-1] == '/' )
|
||||||
{
|
{
|
||||||
|
bdir << path;
|
||||||
oss << "*";
|
oss << "*";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue