nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a25e878dfca2e101d64487ee158103de25175a32
parent 379fdf50fa08a27e69e09f43db82362c49381296
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri,  5 Jul 2019 02:08:31 +0530

Do not show mantissa for absolute sizes

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2178,7 +2178,7 @@ static char *coolsize(off_t size) rem /= 10; } - if (i > 0 && i < 6) { + if (i > 0 && i < 6 && rem) { ret = xstrlcpy(size_buf, xitoa(size), 11); size_buf[ret - 1] = '.';