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
commit9fc29ce2554fcd128efc3f1e9b40c72a5a2fb1a2 (patch)
treeb117068cd7acf9ac8b02b7b8364cd9338cb47616
parentGeneralise code from structuredExceptionHandler for loaded sub component sets... (diff)
downloadproject2-9fc29ce2554fcd128efc3f1e9b40c72a5a2fb1a2.tar.bz2
project2-9fc29ce2554fcd128efc3f1e9b40c72a5a2fb1a2.tar.xz
project2-9fc29ce2554fcd128efc3f1e9b40c72a5a2fb1a2.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