From 92df0cf550f8b41636a3703dd8f8c4cd3b8b9a6d Mon Sep 17 00:00:00 2001 From: Carl A Joslin Date: Sat, 16 Jan 2021 10:17:48 +0000 Subject: [PATCH] Correct width of formated data rates. --- src/conky.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index 017c9454..53e8c1a5 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -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"; }