summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-12-23 17:35:04 +0000
committerrandomdan <randomdan@localhost>2011-12-23 17:35:04 +0000
commitad1a9ec5df41a746fb4e86905cf009700108fdfa (patch)
treeb117068cd7acf9ac8b02b7b8364cd9338cb47616
parentGeneralise code from structuredExceptionHandler for loaded sub component sets... (diff)
downloadproject2-ad1a9ec5df41a746fb4e86905cf009700108fdfa.tar.bz2
project2-ad1a9ec5df41a746fb4e86905cf009700108fdfa.tar.xz
project2-ad1a9ec5df41a746fb4e86905cf009700108fdfa.zip
Fix cut point in fsRows since fixes to fsRoot were made
-rw-r--r--project2/files/fsRows.cpp2
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