summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-02-14 00:10:41 +0100
committerRobin Gareus <robin@gareus.org>2016-02-14 00:10:41 +0100
commit820bd0fe51e3168ee6a61bab849e74f2931f7998 (patch)
tree6dee7662df4dab3f42819f2304c6bd2c78dae5fd
parent09167d3e5964b5a60ddc67f7934edb1c4fc6ec4e (diff)
and another typo in d442190b
-rw-r--r--libs/pbd/system_exec.cc2
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 += '"';