Commit 066327b7 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Remove the 'B' suffix in file_size_float() output

To match behavior of changed xpdev->byte_estimated_to_str().

If the caller wants a 'B' suffix, they can add it.
parent be0a37c8
......@@ -78,5 +78,5 @@ function file_size_float(size, unit, precision)
else if(size >= one_kibibyte || unit == one_kibibyte)
return format("%1.*fK", precision, size/one_kibibyte);
else
return format("%luB", size);
return format("%lu", size);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment