浏览代码

Fix symlink to dir indicator in detail mode

master
Arun Prakash Jana 5 年前
父节点
当前提交
c58434d078
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/nnn.c

+ 2
- 1
src/nnn.c 查看文件

@@ -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


正在加载...
取消
保存