Skip to content
Snippets Groups Projects
Commit 066327b7 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 be0a37c8
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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);
}
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