]> Sergey Matveev's repositories - nnn.git/commitdiff
Use au for apparent size
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 19 Oct 2018 10:33:16 +0000 (16:03 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 19 Oct 2018 10:33:16 +0000 (16:03 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index 17a104a82777b13c19c475d81176380ac5c23124..ecc3fab871ab50b89083bb712075388e61ffa3dd 100644 (file)
--- 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));
                        }