Sfoglia il codice sorgente

Remove redundant check

master
Arun Prakash Jana 5 anni fa
parent
commit
47d35e1396
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: A75979F35C080412
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. +2
    -4
      src/nnn.c

+ 2
- 4
src/nnn.c Vedi File

@@ -3475,8 +3475,7 @@ nochange:
appendfpath(newpath, r);

writecp(newpath, r - 1); /* Truncate NULL from end */
if (copier)
spawn(copier, NULL, NULL, NULL, F_NOTRACE);
spawn(copier, NULL, NULL, NULL, F_NOTRACE);
}

dents[cur].flags |= FILE_COPIED;
@@ -3537,8 +3536,7 @@ nochange:

if (copybufpos) { /* File path(s) written to the buffer */
writecp(pcopybuf, copybufpos - 1); /* Truncate NULL from end */
if (copier)
spawn(copier, NULL, NULL, NULL, F_NOTRACE);
spawn(copier, NULL, NULL, NULL, F_NOTRACE);

if (ncp) { /* Some files cherry picked */
mvprintw(xlines - 1, 0, "%d selected\n", ncp);


Loading…
Annulla
Salva