* patch by alligator: avoid unncessary calls to CalcTotalSize

This commit is contained in:
florian 2024-06-15 22:33:36 +02:00
parent f8da65f8e9
commit ebf39d6109

View File

@ -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