diff options
author | randomdan <randomdan@localhost> | 2011-05-08 16:07:25 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-05-08 16:07:25 +0000 |
commit | 12565b243c1d128a0e8674c931701a85ca6dac77 (patch) | |
tree | 1f10c666ac6e5f8f5a2155f20cf4e67336759e23 | |
parent | Minor tweaks to move to boost::filesystem3 (diff) | |
download | project2-12565b243c1d128a0e8674c931701a85ca6dac77.tar.bz2 project2-12565b243c1d128a0e8674c931701a85ca6dac77.tar.xz project2-12565b243c1d128a0e8674c931701a85ca6dac77.zip |
Fix off by one since moving to boost::filesystem3
-rw-r--r-- | project2/fsRows.cpp | 2 |
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 |