Reduce jitter displaying of up/down load values
- This way the plugin does not jitter in the panel due to non fixed area for displayed up/download number - Fix bug #12957master
parent
8e23bbcb6a
commit
f854511df3
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue