diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-28 18:45:07 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-28 20:09:15 +0100 |
| commit | b1c462beb8b9e0bae7f8886054eee2fe361149a8 (patch) | |
| tree | 8fc350e8d1bde3b3bc530969bfaa24e485ab87a9 /vis-cmds.c | |
| parent | 30e9673fdb22905df853ef07b3826fa19b28831c (diff) | |
| download | vis-b1c462beb8b9e0bae7f8886054eee2fe361149a8.tar.gz vis-b1c462beb8b9e0bae7f8886054eee2fe361149a8.tar.xz | |
view: remove ViewEvent infrastructure
The only used event handler was used to update the '< and '>
marks which is now taken care of by the leave handler of the
visual modes.
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -365,7 +365,7 @@ static const char *file_open_dialog(Vis *vis, const char *pattern) { Text *txt_orig = file->text; View *view_orig = win->view; Text *txt = text_load(NULL); - View *view = view_new(txt, NULL, NULL); + View *view = view_new(txt, NULL); filename[0] = '\0'; snprintf(vis_open, sizeof(vis_open)-1, "vis-open %s", pattern ? pattern : ""); |
