diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-07-05 02:08:31 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-07-05 02:08:31 +0530 |
commit | a25e878dfca2e101d64487ee158103de25175a32 (patch) | |
tree | 11a7a55d78fecaced9a53e081fe30709abff125c /src | |
parent | 379fdf50fa08a27e69e09f43db82362c49381296 (diff) | |
download | nnn-a25e878dfca2e101d64487ee158103de25175a32.tar.gz |
Do not show mantissa for absolute sizes
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] = '.'; |