Skip to content
Snippets Groups Projects
Commit a230a181 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Display file sizes as signed values, so -1 (non-existent file) is clear

parent 8a062f59
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -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("%lu", size);
return format("%ld", 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