mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Test archive operation progress
(cherry picked from commit dc49a59a9c)
This commit is contained in:
parent
fed9e1c15f
commit
21ce5665a3
1 changed files with 3 additions and 3 deletions
|
|
@ -142,15 +142,15 @@ begin
|
|||
begin
|
||||
RemainingTime :=
|
||||
EstimateRemainingTime(FStatisticsAtStartTime.DoneBytes,
|
||||
DoneBytes,
|
||||
TotalBytes,
|
||||
Abs(DoneBytes),
|
||||
Abs(TotalBytes),
|
||||
StartTime,
|
||||
SysUtils.Now,
|
||||
BytesPerSecond);
|
||||
|
||||
// Update overall progress.
|
||||
if TotalBytes <> 0 then
|
||||
UpdateProgress(DoneBytes/TotalBytes);
|
||||
UpdateProgress(Abs(DoneBytes / TotalBytes));
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue