Fix subdir fs

This commit is contained in:
Mike Nolan 2024-12-30 05:13:37 -06:00
parent 679094d787
commit 858f1b25f7
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ namespace Tesses::Framework::Filesystem
{ {
// /a/b/c // /a/b/c
// /a/b/c // /a/b/c
VFSPath newPath; VFSPath newPath
newPath.relative=false; newPath.relative=false;
if(path.path.size() >= this->path.path.size()) if(path.path.size() >= this->path.path.size())
@ -90,7 +90,7 @@ namespace Tesses::Framework::Filesystem
return VFSPathEnumerator([enumerator,path,this](VFSPath& path0)->bool{ return VFSPathEnumerator([enumerator,path,this](VFSPath& path0)->bool{
if(enumerator->MoveNext()) if(enumerator->MoveNext())
{ {
path0 = FromParent( path / enumerator->Current); path0 = FromParent(enumerator->Current);
return true; return true;
} }
return false; return false;