Browse Source

Fix not properly checking if file is selected (#401)

master
KlzXS Mischievous Meerkat 5 years ago
parent
commit
8b7a74a451
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -4863,7 +4863,7 @@ nochange:

/* Toggle selection status */
dents[cur].flags ^= FILE_SELECTED;
dents[cur].flags ? ++nselected : --nselected;
(dents[cur].flags & FILE_SELECTED) ? ++nselected : --nselected;

if (!nselected) {
writesel(NULL, 0);


Loading…
Cancel
Save