diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-08-09 14:04:27 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-08-09 14:04:27 +0530 |
commit | aa8769eceecb88097719bb28ee2a47af13b72267 (patch) | |
tree | dff6784c4dbe0aea8a2c0cbbc6cb758187b9b780 /src | |
parent | 966fe839eee2f25ec2ed548234c9edfe984ebcfa (diff) | |
download | nnn-aa8769eceecb88097719bb28ee2a47af13b72267.tar.gz |
Reduce a check
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 5 |
1 files changed, 2 insertions, 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; |