nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aa8769eceecb88097719bb28ee2a47af13b72267
parent 966fe839eee2f25ec2ed548234c9edfe984ebcfa
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun,  9 Aug 2020 14:04:27 +0530

Reduce a check

Diffstat:
Msrc/nnn.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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;