mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-24 16:05:27 +00:00
revert change to rar5 code
... yeah... apparently the thing that fixes rar3 code breaks rar5 code
This commit is contained in:
@@ -655,9 +655,7 @@ internal partial class Unpack
|
||||
|
||||
private void UnpWriteData(byte[] Data, size_t offset, size_t Size)
|
||||
{
|
||||
// allow WrittenFileSize == DestUnpSize here to ensure that 0 size writes
|
||||
// go through RarStream's Write so that Suspended is set correctly
|
||||
if (WrittenFileSize > DestUnpSize)
|
||||
if (WrittenFileSize >= DestUnpSize)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user