summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/fsRows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/fsRows.cpp b/project2/fsRows.cpp
index e2ddc50..868eaa7 100644
--- a/project2/fsRows.cpp
+++ b/project2/fsRows.cpp
@@ -269,7 +269,7 @@ FsRows::resolveAttr(const Glib::ustring & a) const
VariableType
FsRows::fileRelPath() const
{
- return curPathStr.substr(fsRoot.string().length());
+ return curPathStr.substr(fsRoot.string().length() - 1);
}
VariableType