vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 20ef1bad6cce5014e104fdcb940590948a939379 parent bc940b0d873d24e26526715e8f71a39030371477 Author: David B. Lamkins <dlamkins@galois.com> Date: Sun, 9 Aug 2015 09:39:56 +0200 vis: cancelling wildcard open causes crash Closes #65 Diffstat:
| M | vis.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis.c b/vis.c @@ -1775,7 +1775,7 @@ static bool openfiles(const char **files) { for (; *files; files++) { const char *file = file_open_dialog(*files); if (!file) - continue; + return false; errno = 0; if (!vis_window_new(file)) { editor_info_show(vis, "Could not open `%s' %s", file,