소스 검색

Remove redundant char

master
Arun Prakash Jana 6 년 전
부모
커밋
df7c023dca
No known key found for this signature in database GPG 키 ID: A75979F35C080412
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. +7
    -7
      src/nnn.c

+ 7
- 7
src/nnn.c 파일 보기

@@ -2021,24 +2021,24 @@ static void printent_long(const struct entry *ent, int sel, uint namecols)
switch (ent->mode & S_IFMT) {
case S_IFREG:
if (ent->mode & 0100)
printw("%c%-16.16s 0%s %8.8s* %s*\n", cp, timebuf, permbuf,
printw("%c%-16.16s %s %8.8s* %s*\n", cp, timebuf, permbuf,
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
else
printw("%c%-16.16s 0%s %8.8s %s\n", cp, timebuf, permbuf,
printw("%c%-16.16s %s %8.8s %s\n", cp, timebuf, permbuf,
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
break;
case S_IFDIR:
if (cfg.blkorder)
printw("%c%-16.16s 0%s %8.8s/ %s/\n",
printw("%c%-16.16s %s %8.8s/ %s/\n",
cp, timebuf, permbuf, coolsize(ent->blocks << BLK_SHIFT), pname);
else
printw("%c%-16.16s 0%s / %s/\n", cp, timebuf, permbuf, pname);
printw("%c%-16.16s %s / %s/\n", cp, timebuf, permbuf, pname);
break;
case S_IFLNK:
if (ent->flags & DIR_OR_LINK_TO_DIR)
printw("%c%-16.16s 0%s @/ %s@\n", cp, timebuf, permbuf, pname);
printw("%c%-16.16s %s @/ %s@\n", cp, timebuf, permbuf, pname);
else
printw("%c%-16.16s 0%s @ %s@\n", cp, timebuf, permbuf, pname);
printw("%c%-16.16s %s @ %s@\n", cp, timebuf, permbuf, pname);
break;
case S_IFSOCK:
ind1 = ind2[0] = '='; // fallthrough
@@ -2054,7 +2054,7 @@ static void printent_long(const struct entry *ent, int sel, uint namecols)
default:
if (!ind1)
ind1 = ind2[0] = '?';
printw("%c%-16.16s 0%s %c %s%s\n", cp, timebuf, permbuf, ind1, pname, ind2);
printw("%c%-16.16s %s %c %s%s\n", cp, timebuf, permbuf, ind1, pname, ind2);
break;
}



불러오는 중...
취소
저장