[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 01/01: Revert "Reduce jitter displaying of up/down load values"

noreply at xfce.org noreply at xfce.org
Thu Nov 2 23:15:54 CET 2017


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

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-netload-plugin.

commit 5098cf726692477b1495939cdebab567a9ddf0d9
Author: Skunnyk <skunnyk at alteroot.org>
Date:   Thu Nov 2 23:14:12 2017 +0100

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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list