aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-10-19 16:03:16 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-10-19 16:03:16 +0530
commitd4f9bcb21211b21fdb21f50e4e7e1e6228d6523c (patch)
treeb171f6e2943ad37d53bf3c09f1227e5e27ed2f46
parent0f62ab953f172ebb5eaf042b1a55df9149fb96fb (diff)
downloadnnn-d4f9bcb21211b21fdb21f50e4e7e1e6228d6523c.tar.gz
Use au for apparent size
-rw-r--r--nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nnn.c b/nnn.c
index 17a104a..ecc3fab 100644
--- a/nnn.c
+++ b/nnn.c
@@ -2439,11 +2439,11 @@ redraw(char *path)
i = snprintf(buf, 64, "%d/%d ", cur + 1, ndents);
if (cfg.apparentsz)
- buf[i++] = 'a', buf[i++] = 'p';
+ buf[i++] = 'a';
else
- buf[i++] = 'd', buf[i++] = 'u';
+ buf[i++] = 'd';
- i += snprintf(buf + i, 64, ": %s (%lu files) ", coolsize(dir_blocks << BLK_SHIFT), num_files);
+ i += snprintf(buf + i, 64, "u: %s (%lu files) ", coolsize(dir_blocks << BLK_SHIFT), num_files);
snprintf(buf + i, NAME_MAX, "vol: %s free [%s%s]",
coolsize(get_fs_info(path, FREE)), unescape(dents[cur].name, 0), get_file_sym(dents[cur].mode));
}