Sfoglia il codice sorgente

Add check for empty selection

nop when empty
master
KlzXS 4 anni fa
parent
commit
a27568824e
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: FF9B81B098D5BACA
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. +5
    -0
      src/nnn.c

+ 5
- 0
src/nnn.c Vedi 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…
Annulla
Salva