mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-08 18:06:41 +00:00
Small fix just in case. (#25)
This commit is contained in:
committed by
GitHub
parent
cb41f8a8a6
commit
2b9a527743
@@ -87,7 +87,10 @@ namespace SabreTools.Serialization.Wrappers
|
||||
}
|
||||
}
|
||||
|
||||
if (isSolid)
|
||||
// Still check SharpCompress's archive-level isSolid flag. Based on the way the check works on their
|
||||
// end, it's possible that a multi-block solid archive might have the second (or more files) file not
|
||||
// solid? It doesn't hurt to check either way.
|
||||
if (isSolid || rarFile.IsSolid)
|
||||
return ExtractSolid(rarFile, outputDirectory, includeDebug);
|
||||
else
|
||||
return ExtractNonSolid(rarFile, outputDirectory, includeDebug);
|
||||
|
||||
@@ -86,7 +86,10 @@ namespace SabreTools.Serialization.Wrappers
|
||||
}
|
||||
}
|
||||
|
||||
if (isSolid)
|
||||
// Still check SharpCompress's archive-level isSolid flag. Based on the way the check works on their
|
||||
// end, it's possible that a multi-block solid archive might have the second (or more files) file not
|
||||
// solid? It doesn't hurt to check either way.
|
||||
if (isSolid || sevenZip.IsSolid)
|
||||
return ExtractSolid(sevenZip, outputDirectory, includeDebug);
|
||||
else
|
||||
return ExtractNonSolid(sevenZip, outputDirectory, includeDebug);
|
||||
|
||||
Reference in New Issue
Block a user