aboutsummaryrefslogtreecommitdiff
path: root/vis-cmds.c
diff options
context:
space:
mode:
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 : "");