From 5098cf726692477b1495939cdebab567a9ddf0d9 Mon Sep 17 00:00:00 2001 From: Skunnyk Date: Thu, 2 Nov 2017 23:14:12 +0100 Subject: [PATCH] Revert "Reduce jitter displaying of up/down load values" This reverts commit f854511df31f14ae17869a694e840881993e64e4. Merged by mistake. --- panel-plugin/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel-plugin/utils.c b/panel-plugin/utils.c index 8143ee7..7336034 100644 --- a/panel-plugin/utils.c +++ b/panel-plugin/utils.c @@ -113,7 +113,7 @@ char* format_byte_humanreadable(char* string, int stringsize, double number, int } /* format number first */ - snprintf(formatstring, BUFSIZ, "%%%d.%df\t",6, digits); + snprintf(formatstring, BUFSIZ, "%%.%df", digits); snprintf(buffer, BUFSIZ, formatstring, number_displayed); /* get the number of integer characters */