diff options
Diffstat (limited to 'libs/pbd/system_exec.cc')
-rw-r--r-- | libs/pbd/system_exec.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index 0d0ab9fc1a..351e4ee066 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -215,7 +215,7 @@ SystemExec::SystemExec (std::string command, const std::map<char, std::string> s for (int i = 1; argp[i]; ++i) { std::string tmp (argp[i]); while (tmp.find("\"") != std::string::npos) - tmp.replace(s.find("\""), 1, "\\\""); + tmp.replace(tmp.find("\""), 1, "\\\""); wa += " \""; wa += tmp; wa += '"'; |