mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: File size format
This commit is contained in:
parent
8593084163
commit
723e7aa8cd
1 changed files with 5 additions and 1 deletions
|
|
@ -320,7 +320,11 @@ end;
|
|||
|
||||
function TfrmFileProperties.FormatSize(ASize: Int64): String;
|
||||
begin
|
||||
Result:= Format('%s (%s)', [cnvFormatFileSize(ASize, fsfFloat, gFileSizeDigits), IntToStrTS(ASize)]);
|
||||
if gFileSizeFormat in [fsfByte, fsfPersonalizedByte] then
|
||||
Result:= cnvFormatFileSize(ASize)
|
||||
else begin
|
||||
Result:= Format('%s (%s)', [cnvFormatFileSize(ASize), IntToStrTS(ASize)]);
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TfrmFileProperties.ShowMany;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue