Browse Source

Fix line count when editing selection

master
Arun Prakash Jana 4 years ago
parent
commit
4f787fd59e
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/nnn.c

+ 3
- 0
src/nnn.c View File

@@ -1007,6 +1007,9 @@ static bool editselection(void)
}
}

/* Add a line for the last file */
++lines;

if (lines > nselected) {
DPRINTF_S("files added to selection");
goto emptyedit;


Loading…
Cancel
Save