[MKDoc-commit] [1.6] filesize case changes: mb -> MB and kb -> kB
bruno at mkdoc.demon.co.uk
bruno at mkdoc.demon.co.uk
Wed Sep 28 17:19:48 BST 2005
Log Message:
-----------
[1.6] filesize case changes: mb -> MB and kb -> kB
Tags:
----
mkdoc-1-6
Modified Files:
--------------
mkd/flo/editor/Mixin:
file_size.pm
-------------- next part --------------
Index: file_size.pm
===================================================================
RCS file: /var/spool/cvs/mkd/flo/editor/Mixin/Attic/file_size.pm,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -Lflo/editor/Mixin/file_size.pm -Lflo/editor/Mixin/file_size.pm -u -r1.1.2.2 -r1.1.2.3
--- flo/editor/Mixin/file_size.pm
+++ flo/editor/Mixin/file_size.pm
@@ -69,9 +69,9 @@
my $size = $self->file_size;
if ($size > 0x100000) {
- $size = int ($size / 0x100000) . "mb";
+ $size = int ($size / 0x100000) . "MB";
} elsif ($size > 0x400) {
- $size = int ($size / 0x400) . "kb";
+ $size = int ($size / 0x400) . "kB";
} else {
$size .= "b";
}
More information about the MKDoc-commit
mailing list