aboutsummaryrefslogtreecommitdiff
path: root/src/gui_ambi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_ambi.c')
-rw-r--r--src/gui_ambi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_ambi.c b/src/gui_ambi.c
index 4403c999..79cc5299 100644
--- a/src/gui_ambi.c
+++ b/src/gui_ambi.c
@@ -495,7 +495,7 @@ int write_ambigator_script(const char *filename,
fprintf(fh, "cat \\\n");
for ( i=0; i<input->n_streams; i++ ) {
- fprintf(fh, "%s \\\n", input->streams[i]);
+ fprintf(fh, "\"%s\" \\\n", input->streams[i]);
}
fprintf(fh, " > ambigator-input.stream\n");
@@ -504,7 +504,7 @@ int write_ambigator_script(const char *filename,
fprintf(fh, "%s ambigator-input.stream \\\n", exe_path);
fprintf(fh, " -j %s", n_thread_str);
- fprintf(fh, " -o %s", out_stream);
+ fprintf(fh, " -o \"%s\"", out_stream);
fprintf(fh, " -y %s", params->sym);
if ( params->use_operator ) {
fprintf(fh, " --operator=%s", params->operator);