projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more meta-data placeholders for post-export command
[ardour.git]
/
libs
/
pbd
/
system_exec.cc
diff --git
a/libs/pbd/system_exec.cc
b/libs/pbd/system_exec.cc
index 0d0ab9fc1abdda26b69072ddd790a573b39c1483..351e4ee066ae118f2f69e0e64de6cf2b90715f42 100644
(file)
--- 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)
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 += '"';
wa += " \"";
wa += tmp;
wa += '"';