tazpanel diff lib/libtazpanel @ rev 373
hardware.cgi: add loop support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 24 15:14:47 2013 +0000 (2013-07-24) |
parents | d1f4f991fb1d |
children | c6752ed0e680 |
line diff
1.1 --- a/lib/libtazpanel Tue Jul 23 03:22:09 2013 +0300 1.2 +++ b/lib/libtazpanel Wed Jul 24 15:14:47 2013 +0000 1.3 @@ -259,7 +259,7 @@ 1.4 for (i = 1; n > 1024; i++) 1.5 n /= 1024 1.6 f = "%1.0f%c" 1.7 - if (n < 1000) 1.8 + if (n < 100) 1.9 f = "%1.1f%c" 1.10 printf f,n,substr("KMGT", i, 1) 1.11 }'