Xinqi Bao's Git
projects
/
slstatus.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
93daf4f
)
Follow International System of Units spacing rules
author
Ingo Feinerer <
[email protected]
>
Sat, 16 Feb 2019 16:59:44 +0000
(17:59 +0100)
committer
Aaron Marcher <
[email protected]
>
Sun, 17 Feb 2019 15:53:56 +0000
(16:53 +0100)
util.c
diff
|
blob
|
history
diff --git
a/util.c
b/util.c
index
77324e8
..
85366bf
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-123,7
+123,7
@@
fmt_human(uintmax_t num, int base)
scaled /= base;
}
- return bprintf("%.1f%s", scaled, prefix[i]);
+ return bprintf("%.1f
%s", scaled, prefix[i]);
}
int