summaryrefslogtreecommitdiff
path: root/dpi
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-07-30 02:46:27 +0000
committercorvid <devnull@localhost>2014-07-30 02:46:27 +0000
commitc1b4f7f51ab8a9190bcaabc13015ffeff292a4a1 (patch)
tree94da56fa851353c03a3efad984a2c12206695709 /dpi
parent38a1bc1f8075b35025ee1ae3eebda066e6d534a3 (diff)
KB
Diffstat (limited to 'dpi')
-rw-r--r--dpi/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpi/file.c b/dpi/file.c
index 5f1459ad..00e10468 100644
--- a/dpi/file.c
+++ b/dpi/file.c
@@ -346,10 +346,10 @@ static void File_info2html(ClientInfo *client, FileInfo *finfo, int n)
sizeunits = "bytes";
} else if (finfo->size / 1024 <= 9999) {
size = finfo->size / 1024 + (finfo->size % 1024 >= 1024 / 2);
- sizeunits = "Kb";
+ sizeunits = "KB";
} else {
size = finfo->size / 1048576 + (finfo->size % 1048576 >= 1048576 / 2);
- sizeunits = "Mb";
+ sizeunits = "MB";
}
/* we could note if it's a symlink... */