diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-08-02 18:56:04 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-08-02 18:56:04 +0200 |
| commit | 1ce1a8486d14eb4e617044e0f22d90498315b23a (patch) | |
| tree | e36dce25392ed30c6fd623b066a11bba31d3873f | |
| parent | 2b8e8aed6e4c82784a5e3cb44bedefcf05c05757 (diff) | |
| download | vis-1ce1a8486d14eb4e617044e0f22d90498315b23a.tar.gz vis-1ce1a8486d14eb4e617044e0f22d90498315b23a.tar.xz | |
vis: use file open dialog also for :edit
| -rw-r--r-- | vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1770,7 +1770,7 @@ static bool cmd_edit(Filerange *range, enum CmdOpt opt, const char *argv[]) { } if (!argv[1]) return editor_window_reload(oldwin); - if (!vis_window_new(argv[1])) + if (!openfiles(&argv[1])) return false; editor_window_close(oldwin); return true; |
