mirror of
https://github.com/jarun/nnn.git
synced 2024-09-29 09:17:51 +00:00
Reduce a check
This commit is contained in:
parent
966fe839ee
commit
aa8769ecee
|
@ -3446,11 +3446,10 @@ static void printent(const struct entry *ent, uint namecols, bool sel)
|
||||||
ind = '*';
|
ind = '*';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ent->flags & HARD_LINK)
|
|
||||||
pair = C_HRD;
|
|
||||||
|
|
||||||
if (!ent->size)
|
if (!ent->size)
|
||||||
pair = C_UND;
|
pair = C_UND;
|
||||||
|
else if (ent->flags & HARD_LINK)
|
||||||
|
pair = C_HRD;
|
||||||
else if (!pair)
|
else if (!pair)
|
||||||
pair = C_FIL;
|
pair = C_FIL;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue