From 9fc29ce2554fcd128efc3f1e9b40c72a5a2fb1a2 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 23 Dec 2011 17:35:04 +0000 Subject: Fix cut point in fsRows since fixes to fsRoot were made --- project2/files/fsRows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3