mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 10:59:10 +02:00
* patch by alligator: avoid unncessary calls to CalcTotalSize
This commit is contained in:
parent
f8da65f8e9
commit
ebf39d6109
@ -2917,7 +2917,8 @@ Begin
|
||||
Try
|
||||
ReadZipDirectory;
|
||||
FTotPos := 0;
|
||||
FTotSize := CalcTotalSize(AllFiles);
|
||||
if Assigned(FOnProgressEx) and not Terminated then
|
||||
FTotSize := CalcTotalSize(AllFiles);
|
||||
i:=0;
|
||||
While (I<FEntries.Count) and not Terminated do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user