aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/path.ixx')
-rw-r--r--libbutl/path.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/path.ixx b/libbutl/path.ixx
index d262adb..b7dca3e 100644
--- a/libbutl/path.ixx
+++ b/libbutl/path.ixx
@@ -349,7 +349,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason.
if (p != string_type::npos)
{
- s.resize (0, p);
+ s.resize (p);
// Keep the original tsep unless the path became empty.
//