aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-01 14:17:45 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-01 14:17:45 +0530
commitdf7c023dca4cc996f9de80edceae0174f0c2befa (patch)
treeb43ac215e5596852dc639e5c72f8e78f76d1d4c0 /src/nnn.c
parent0593cc165d019678d9752c70e69899ebc96d44dd (diff)
downloadnnn-df7c023dca4cc996f9de80edceae0174f0c2befa.tar.gz
Remove redundant char
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 310c753..849db7d 100644
--- a/src/nnn.c
+++ b/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;
}