Add check for non-empty selection buffer

This commit is contained in:
Arun Prakash Jana 2021-03-04 23:55:41 +05:30
parent 8886f1cd56
commit e901615fcc
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -2088,7 +2088,7 @@ static bool cpmvrm_selection(enum action sel, char *path)
{
int r;
if (isselfileempty()) {
if (!selbufpos && isselfileempty()) {
printmsg(messages[MSG_0_SELECTED]);
return FALSE;
}