This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Do not show mantissa for absolute sizes
master
Arun Prakash Jana
5 years ago
parent
379fdf50fa
commit
a25e878dfc
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/nnn.c
+ 1
- 1
src/nnn.c
View File
@@ -2178,7 +2178,7 @@ static char *coolsize(off_t size)
rem /= 10;
rem /= 10;
}
}
if (i > 0 && i < 6) {
if (i > 0 && i < 6
&& rem
) {
ret = xstrlcpy(size_buf, xitoa(size), 11);
ret = xstrlcpy(size_buf, xitoa(size), 11);
size_buf[ret - 1] = '.';
size_buf[ret - 1] = '.';
Write
Preview
Loading…
Cancel
Save