diff --git a/panel-plugin/utils.c b/panel-plugin/utils.c index 7336034..8143ee7 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, "%%.%df", digits); + snprintf(formatstring, BUFSIZ, "%%%d.%df\t",6, digits); snprintf(buffer, BUFSIZ, formatstring, number_displayed); /* get the number of integer characters */