Browse Source

Reduce a check

master
Arun Prakash Jana 4 years ago
parent
commit
aa8769ecee
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/nnn.c

+ 2
- 3
src/nnn.c 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;


Loading…
Cancel
Save