diff --git a/src/Filesystem/SubdirFilesystem.cpp b/src/Filesystem/SubdirFilesystem.cpp index 40f03dc..540d983 100644 --- a/src/Filesystem/SubdirFilesystem.cpp +++ b/src/Filesystem/SubdirFilesystem.cpp @@ -10,7 +10,7 @@ namespace Tesses::Framework::Filesystem { // /a/b/c // /a/b/c - VFSPath newPath; + VFSPath newPath newPath.relative=false; if(path.path.size() >= this->path.path.size()) @@ -90,7 +90,7 @@ namespace Tesses::Framework::Filesystem return VFSPathEnumerator([enumerator,path,this](VFSPath& path0)->bool{ if(enumerator->MoveNext()) { - path0 = FromParent( path / enumerator->Current); + path0 = FromParent(enumerator->Current); return true; } return false; @@ -145,4 +145,4 @@ namespace Tesses::Framework::Filesystem if(this->owns) delete this->parent; } -} \ No newline at end of file +}