From b556adb897f18e500bb4d8f89c81c0f0764f1ff2 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 7 Sep 2022 14:55:03 -0400 Subject: add upstream 11.25 --- zen/process_exec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zen/process_exec.cpp') 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(' '))) -- cgit