summaryrefslogtreecommitdiff
path: root/zen/resolve_path.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-04-03 09:56:38 -0400
committerB. Stack <bgstack15@gmail.com>2023-04-03 09:56:38 -0400
commit765e1bb3bdeb5c49f08543c20206e55c772e6b80 (patch)
tree920f288910890016e540213fe65f2d6f38aa82be /zen/resolve_path.cpp
parentadd upstream 12.1 (diff)
downloadFreeFileSync-765e1bb3bdeb5c49f08543c20206e55c772e6b80.tar.gz
FreeFileSync-765e1bb3bdeb5c49f08543c20206e55c772e6b80.tar.bz2
FreeFileSync-765e1bb3bdeb5c49f08543c20206e55c772e6b80.zip
add upstream 12.212.2
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