Reduce a check

This commit is contained in:
Arun Prakash Jana 2020-08-09 14:04:27 +05:30
parent 966fe839ee
commit aa8769ecee
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 3 deletions

View File

@ -3446,11 +3446,10 @@ static void printent(const struct entry *ent, uint namecols, bool sel)
ind = '*';
}
if (ent->flags & HARD_LINK)
pair = C_HRD;
if (!ent->size)
pair = C_UND;
else if (ent->flags & HARD_LINK)
pair = C_HRD;
else if (!pair)
pair = C_FIL;
break;