1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-06-26 10:52:35 +00:00

Correct width of formated data rates.

This commit is contained in:
Carl A Joslin 2021-01-16 10:17:48 +00:00 committed by Brenden Matthews
parent e2869ac8d3
commit 92df0cf550

View File

@ -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";
}