diff options
-rw-r--r-- | project2/files/fsRows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/files/fsRows.cpp b/project2/files/fsRows.cpp index 6c8dd7c..0020205 100644 --- a/project2/files/fsRows.cpp +++ b/project2/files/fsRows.cpp @@ -179,7 +179,7 @@ FsRows::SearchState::foreachAttr(const AttrAction & action) const VariableType FsRows::SearchState::fileRelPath() const { - return curPathStr.substr(fsRoot.string().length() - 1); + return curPathStr.substr(fsRoot.string().length()); } VariableType |