Skip to content
Snippets Groups Projects
Commit 2be34f5e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
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 2e53a8d6
No related branches found
No related tags found
No related merge requests found
...@@ -78,5 +78,5 @@ function file_size_float(size, unit, precision) ...@@ -78,5 +78,5 @@ function file_size_float(size, unit, precision)
else if(size >= one_kibibyte || unit == one_kibibyte) else if(size >= one_kibibyte || unit == one_kibibyte)
return format("%1.*fK", precision, size/one_kibibyte); return format("%1.*fK", precision, size/one_kibibyte);
else else
return format("%luB", size); return format("%lu", size);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment