Fix line count when editing selection

This commit is contained in:
Arun Prakash Jana 2019-11-17 20:20:21 +05:30
parent 2cbd76abf6
commit 4f787fd59e
No known key found for this signature in database
GPG key ID: A75979F35C080412

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;