diff --git a/src/nnn.c b/src/nnn.c index e8b98de9..d4fa5d80 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -2084,6 +2084,11 @@ static bool cpmvrm_selection(enum action sel, char *path) { int r; + if (!selbufpos) { + printmsg(messages[MSG_0_SELECTED]); + return FALSE; + } + if (!selsafe()) return FALSE;