diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-05 22:21:44 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-05 22:21:44 +0100 |
| commit | 6deb6e077fa85a83d5bd4f54f1f416508c77c126 (patch) | |
| tree | b1d4b91dcae6ba9bbc82888d35b401d95403f34b /vis-cmds.c | |
| parent | bf9fc971602cff5907528da14cb6428a971b598f (diff) | |
| download | vis-6deb6e077fa85a83d5bd4f54f1f416508c77c126.tar.gz vis-6deb6e077fa85a83d5bd4f54f1f416508c77c126.tar.xz | |
vis: add file argument to vis_pipe
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -330,7 +330,8 @@ static const char *file_open_dialog(Vis *vis, const char *pattern) { return NULL; Filerange empty = text_range_new(0,0); - int status = vis_pipe(vis, &empty, (const char*[]){ buffer_content0(&bufcmd), NULL }, + int status = vis_pipe(vis, vis->win->file, &empty, + (const char*[]){ buffer_content0(&bufcmd), NULL }, &bufout, read_buffer, &buferr, read_buffer); if (status == 0) |
