mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Fix symlink to dir indicator in detail mode
This commit is contained in:
parent
35c3497364
commit
c58434d078
|
@ -3305,7 +3305,8 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel)
|
||||||
break;
|
break;
|
||||||
case S_IFLNK:
|
case S_IFLNK:
|
||||||
ln = TRUE;
|
ln = TRUE;
|
||||||
ind1 = ind2 = '@'; // fallthrough
|
ind1 = '@';
|
||||||
|
ind2 = (ent->flags & DIR_OR_LINK_TO_DIR) ? '/' : '@'; // fallthrough
|
||||||
case S_IFSOCK:
|
case S_IFSOCK:
|
||||||
if (!ind1)
|
if (!ind1)
|
||||||
ind1 = ind2 = '='; // fallthrough
|
ind1 = ind2 = '='; // fallthrough
|
||||||
|
|
Loading…
Reference in a new issue