fixed packed file size in created archives.

This commit is contained in:
morkt 2014-08-18 03:17:03 +04:00
parent 5688546a85
commit 881a95c165

View File

@ -474,6 +474,7 @@ NextEntry:
xp3entry.Hash = CheckedCopy (file, zstream);
zstream.Flush();
segment.PackedSize = (uint)zstream.TotalOut;
xp3entry.Size = segment.PackedSize;
}
}
else
@ -538,6 +539,7 @@ NextEntry:
{
output.Flush();
segment.PackedSize = (uint)(output as ZLibStream).TotalOut;
xp3entry.Size = segment.PackedSize;
}
}
finally