aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sam.c b/sam.c
index ad493de..b4d8a5f 100644
--- a/sam.c
+++ b/sam.c
@@ -1272,7 +1272,7 @@ static bool cmd_files(Vis *vis, Win *win, Command *cmd, const char *argv[], Curs
bool match = !cmd->regex || (win->file->name &&
text_regex_match(cmd->regex, win->file->name, 0));
if (match ^ (argv[0][0] == 'Y'))
- ret &= sam_execute(vis, win, cmd->cmd, NULL, range);
+ ret &= sam_execute(vis, win, cmd->cmd, NULL, NULL);
}
return ret;
}