projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b016f
)
sync with 1.9, slightly change boudnries of how inexact bytecounts are displayed
author
ivan
<ivan>
Sun, 15 Mar 2009 19:00:03 +0000
(19:00 +0000)
committer
ivan
<ivan>
Sun, 15 Mar 2009 19:00:03 +0000
(19:00 +0000)
FS/FS/UI/bytecount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UI/bytecount.pm
b/FS/FS/UI/bytecount.pm
index
0891e6d
..
0ddc754
100644
(file)
--- a/
FS/FS/UI/bytecount.pm
+++ b/
FS/FS/UI/bytecount.pm
@@
-32,9
+32,9
@@
sub bytecount_unexact {
return("$bc bytes")
if ($bc < 1000);
return(sprintf("%.2f Kbytes", $bc/1024))
- if ($bc < 10
00000
);
+ if ($bc < 10
48576
);
return(sprintf("%.2f Mbytes", $bc/1048576))
- if ($bc < 10
00000000
);
+ if ($bc < 10
73741824
);
return(sprintf("%.2f Gbytes", $bc/1073741824));
}