aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 124b0cd..20b7b25 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1500,8 +1500,7 @@ static bool cpmvrm_selection(enum action sel, char *path, int *presel)
case SEL_CPMVAS:
r = get_input(messages[MSG_CP_MV_AS]);
if (r != 'c' && r != 'm') {
- if (cfg.filtermode)
- *presel = FILTER;
+ printwait(messages[MSG_INVALID_KEY], presel);
return FALSE;
}