From 858f1b25f7907265c9e19f39fae5d76d55fd2a0d Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Mon, 30 Dec 2024 05:13:37 -0600 Subject: [PATCH] Fix subdir fs --- src/Filesystem/SubdirFilesystem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +}