mirror of
https://github.com/jarun/nnn.git
synced 2025-04-03 20:16:34 +00:00
Fix line count when editing selection
This commit is contained in:
parent
2cbd76abf6
commit
4f787fd59e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue