mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +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;
|
return;
|
||||||
}
|
}
|
||||||
if (short_units.get(*state)) {
|
if (short_units.get(*state)) {
|
||||||
width = 5;
|
width = 6;
|
||||||
format = "%.*f %.1s";
|
format = "%.*f %.1s";
|
||||||
} else {
|
} else {
|
||||||
width = 7;
|
width = 8;
|
||||||
format = "%.*f %-.3s";
|
format = "%.*f %-.3s";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user