projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93daf4f
)
Follow International System of Units spacing rules
author
Ingo Feinerer
<feinerer@logic.at>
Sat, 16 Feb 2019 16:59:44 +0000
(17:59 +0100)
committer
Aaron Marcher
<me@drkhsh.at>
Sun, 17 Feb 2019 15:53:56 +0000
(16:53 +0100)
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index 77324e823171fdfe625a72ed722b4b8c28fe5624..85366bf8679f191475d360fbbfbb9d7ab9ecf0de 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