aboutsummaryrefslogtreecommitdiff
path: root/vis-cmds.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-28 18:45:07 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-28 20:09:15 +0100
commitb1c462beb8b9e0bae7f8886054eee2fe361149a8 (patch)
tree8fc350e8d1bde3b3bc530969bfaa24e485ab87a9 /vis-cmds.c
parent30e9673fdb22905df853ef07b3826fa19b28831c (diff)
downloadvis-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-cmds.c b/vis-cmds.c
index 58b611d..21529a9 100644
--- a/vis-cmds.c
+++ b/vis-cmds.c
@@ -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 : "");