Fixed: Consistent display of sizes

Closes #709
This commit is contained in:
kmcc049
2015-08-30 09:49:06 +12:00
parent 30bcc662bc
commit 07b70f9d3f
5 changed files with 24 additions and 20 deletions
@@ -9,7 +9,7 @@ namespace NzbDrone.Common.Extensions
public static string SizeSuffix(this Int64 bytes)
{
const int bytesInKb = 1000;
const int bytesInKb = 1024;
if (bytes < 0) return "-" + SizeSuffix(-bytes);
if (bytes == 0) return "0 B";