summaryrefslogtreecommitdiffstats
path: root/raul/Path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/Path.hpp')
-rw-r--r--raul/Path.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Path.hpp b/raul/Path.hpp
index 0b287c3..b549f88 100644
--- a/raul/Path.hpp
+++ b/raul/Path.hpp
@@ -156,7 +156,7 @@ public:
return "/";
} else {
assert(length() > base.length());
- return substr(base.length());
+ return substr(base.length() - 1);
}
}