mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-12 19:06:36 +00:00
Correct width of formated data rates.
This commit is contained in:
parent
e2869ac8d3
commit
92df0cf550
@ -591,10 +591,10 @@ void human_readable(long long num, char *buf, int size) {
|
||||
return;
|
||||
}
|
||||
if (short_units.get(*state)) {
|
||||
width = 5;
|
||||
width = 6;
|
||||
format = "%.*f %.1s";
|
||||
} else {
|
||||
width = 7;
|
||||
width = 8;
|
||||
format = "%.*f %-.3s";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user