From b1c462beb8b9e0bae7f8886054eee2fe361149a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 28 Nov 2015 18:45:07 +0100 Subject: 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. --- vis-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-cmds.c') 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 : ""); -- cgit v1.2.3