This is an automated email from the git hooks/post-receive script.

skunnyk pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-netload-plugin.

commit f854511df31f14ae17869a694e840881993e64e4
Author: Neo <rds...@free.fr>
Date:   Thu Jun 8 11:20:19 2017 +0200

    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 #12957
---
 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 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 */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to