From 820bd0fe51e3168ee6a61bab849e74f2931f7998 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 14 Feb 2016 00:10:41 +0100 Subject: and another typo in d442190b --- libs/pbd/system_exec.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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 += '"'; -- cgit v1.2.3