summaryrefslogtreecommitdiff
path: root/zen/resolve_path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/resolve_path.cpp')
-rw-r--r--zen/resolve_path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/resolve_path.cpp b/zen/resolve_path.cpp
index daaf91ff..7bf50b12 100644
--- a/zen/resolve_path.cpp
+++ b/zen/resolve_path.cpp
@@ -149,7 +149,7 @@ namespace
Zstring tryExpandVolumeName(Zstring pathPhrase) // [volname]:\folder [volname]\folder [volname]folder -> C:\folder
{
//we only expect the [.*] pattern at the beginning => do not touch dir names like "C:\somedir\[stuff]"
- trim(pathPhrase, true, false);
+ trim(pathPhrase, TrimSide::left);
if (startsWith(pathPhrase, Zstr('[')))
{
bgstack15