diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-30 17:04:37 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-30 17:52:17 +0100 |
| commit | efa32c506969184a054de7224b7d01f93004e9f7 (patch) | |
| tree | 903ce5f4db7516ee38cbce185a477304a5ba5cd4 /sam.c | |
| parent | 62649ebd6b184b9e1a63d3693683ca23c34c7282 (diff) | |
| download | vis-efa32c506969184a054de7224b7d01f93004e9f7.tar.gz vis-efa32c506969184a054de7224b7d01f93004e9f7.tar.xz | |
sam: explicitly pass invalid range for X and Y commands
These are never used because there is always an implicit select command
prepended.
Diffstat (limited to 'sam.c')
| -rw-r--r-- | sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
