aboutsummaryrefslogtreecommitdiff
path: root/src/gui_ambi.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-06-22 16:30:20 +0200
committerThomas White <taw@physics.org>2021-06-22 16:30:20 +0200
commit67151e4f1c3939ca6e7de13b4ed499875f694e49 (patch)
treee1bd5058461536717672a40dd15616db9375c6e6 /src/gui_ambi.c
parent00d0ba74c8019d6fc0819d4f964edeadc578d2dc (diff)
GUI: Fix paths to streams for merging and ambigator
They need to be prefixed with "../" because they are in a different folder.
Diffstat (limited to 'src/gui_ambi.c')
-rw-r--r--src/gui_ambi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_ambi.c b/src/gui_ambi.c
index 2a6fb06f..6e28f194 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");