mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Reduce a check
This commit is contained in:
parent
966fe839ee
commit
aa8769ecee
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue