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

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;
}