mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Zip - synchronize central directory header with local file header (fixes #2542)
(cherry picked from commit 4b4b38eb97)
This commit is contained in:
parent
c9563cf5ed
commit
2e10385436
1 changed files with 3 additions and 0 deletions
|
|
@ -1654,6 +1654,9 @@ begin
|
|||
LFH.ExtraField.Delete(Ab_Zip64SubfieldID);
|
||||
end;
|
||||
LFH.SaveToStream( Stream );
|
||||
{ Synchronize central directory header with local file header }
|
||||
FItemInfo.CompressedSize := LFH.CompressedSize;
|
||||
FItemInfo.UncompressedSize := LFH.UncompressedSize;
|
||||
finally
|
||||
LFH.Free;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue