diff options
| author | David B. Lamkins <dlamkins@galois.com> | 2015-08-09 09:39:56 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-08-09 09:39:56 +0200 |
| commit | a078796d29a9768dfc646f7d884cc90277e9c8cb (patch) | |
| tree | 9bd8e83ee48d4f30c8b32da5638f9627c0fd17d3 | |
| parent | 56d2dc51d0725a58f4b9ac67d2374e69cf8b8005 (diff) | |
| download | vis-a078796d29a9768dfc646f7d884cc90277e9c8cb.tar.gz vis-a078796d29a9768dfc646f7d884cc90277e9c8cb.tar.xz | |
vis: cancelling wildcard open causes crash
Closes #65
| -rw-r--r-- | vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |
