diff options
author | 2020-04-13 20:42:19 +0530 | |
---|---|---|
committer | 2020-04-13 20:42:19 +0530 | |
commit | c58434d07880aa8d4b767f1d8c0fe9de70cff4ff (patch) | |
tree | 52decc2d433dcdbdedd4b3bdcea08225b7c7d3d8 | |
parent | 35c3497364cbdc88ae6c33f1b80fd616b35b6000 (diff) | |
download | nnn-c58434d07880aa8d4b767f1d8c0fe9de70cff4ff.tar.gz |
Fix symlink to dir indicator in detail mode
-rw-r--r-- | src/nnn.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3305,7 +3305,8 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel) break; case S_IFLNK: ln = TRUE; - ind1 = ind2 = '@'; // fallthrough + ind1 = '@'; + ind2 = (ent->flags & DIR_OR_LINK_TO_DIR) ? '/' : '@'; // fallthrough case S_IFSOCK: if (!ind1) ind1 = ind2 = '='; // fallthrough |