[freeside-commits] freeside/FS/FS/UI bytecount.pm,1.1.2.6,1.1.2.7

Ivan,,, ivan at wavetail.420.am
Sun Mar 15 12:00:06 PDT 2009


Update of /home/cvs/cvsroot/freeside/FS/FS/UI
In directory wavetail.420.am:/tmp/cvs-serv31361

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	bytecount.pm 
Log Message:
sync with 1.9, slightly change boudnries of how inexact bytecounts are displayed

Index: bytecount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/UI/bytecount.pm,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -d -r1.1.2.6 -r1.1.2.7
--- bytecount.pm	30 Jan 2009 00:41:23 -0000	1.1.2.6
+++ bytecount.pm	15 Mar 2009 19:00:03 -0000	1.1.2.7
@@ -32,9 +32,9 @@
   return("$bc bytes")
     if ($bc < 1000);
   return(sprintf("%.2f Kbytes", $bc/1024))
-    if ($bc < 1000000);
+    if ($bc < 1048576);
   return(sprintf("%.2f Mbytes", $bc/1048576))
-    if ($bc < 1000000000);
+    if ($bc < 1073741824);
   return(sprintf("%.2f Gbytes", $bc/1073741824));
 }
 



More information about the freeside-commits mailing list