diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index 6bedc44257..0d0ab9fc1a 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -217,7 +217,7 @@ SystemExec::SystemExec (std::string command, const std::map s while (tmp.find("\"") != std::string::npos) tmp.replace(s.find("\""), 1, "\\\""); wa += " \""; - wa += tmp + wa += tmp; wa += '"'; } w_args = strdup(wa.c_str()); @@ -339,7 +339,7 @@ string SystemExec::to_s () const { #ifdef PLATFORM_WINDOWS - return string (w_args ? w_args :: ""); + return string (w_args ? w_args : ""); #else stringstream out; if (argp) {