Browse Source

Merge pull request #856 from KlzXS/cpmvrm

Add check for empty selection
master
Mischievous Meerkat GitHub 3 years ago
parent
commit
916910bd7a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/nnn.c

+ 5
- 0
src/nnn.c View File

@@ -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;



Loading…
Cancel
Save