diff options
author | B. Stack <bgstack15@gmail.com> | 2022-09-07 14:55:03 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-09-07 14:55:03 -0400 |
commit | b556adb897f18e500bb4d8f89c81c0f0764f1ff2 (patch) | |
tree | b0047c655d52e4e479ceb73c713414f8d0744c38 /zen/process_exec.cpp | |
parent | Merge branch 'b11.24' into 'master' (diff) | |
download | FreeFileSync-b556adb897f18e500bb4d8f89c81c0f0764f1ff2.tar.gz FreeFileSync-b556adb897f18e500bb4d8f89c81c0f0764f1ff2.tar.bz2 FreeFileSync-b556adb897f18e500bb4d8f89c81c0f0764f1ff2.zip |
add upstream 11.25
Diffstat (limited to 'zen/process_exec.cpp')
-rw-r--r-- | zen/process_exec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/process_exec.cpp b/zen/process_exec.cpp index df41a627..fb691151 100644 --- a/zen/process_exec.cpp +++ b/zen/process_exec.cpp @@ -19,7 +19,7 @@ using namespace zen; Zstring zen::escapeCommandArg(const Zstring& arg) { -//*INDENT-OFF* +//*INDENT-OFF* if not put exactly here, Astyle will seriously mess this .cpp file up! Zstring output; for (const Zchar c : arg) switch (c) @@ -27,7 +27,7 @@ Zstring zen::escapeCommandArg(const Zstring& arg) case '"': output += "\\\""; break; //Windows: not needed; " cannot be used as file name case '\\': output += "\\\\"; break; //Windows: path separator! => don't escape case '`': output += "\\`"; break; //yes, used in some paths => Windows: no escaping required - default: output += c; break; + default: output += c; break; } //*INDENT-ON* if (contains(output, Zstr(' '))) |