diff options
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r-- | src/gui_backend_local.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c index bc5d3ad0..829909ac 100644 --- a/src/gui_backend_local.c +++ b/src/gui_backend_local.c @@ -108,7 +108,11 @@ static int write_file_list(GFile *workdir, if ( fh == NULL ) return 1; for ( i=0; i<n_frames; i++ ) { - fprintf(fh, "%s", filenames[i]); + if ( filenames[i][0] != '/' ) { + fprintf(fh, "../%s", filenames[i]); + } else { + fprintf(fh, "%s", filenames[i]); + } if ( events[i] != NULL ) { fprintf(fh, " %s\n", events[i]); } else { |