Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Always provide streams which are at the beginning of the file.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimian committed Jun 20, 2023
1 parent f80ddaf commit 4e63b78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SevenZip/ArchiveOpenCallback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public int GetStream(string name, out IInStream inStream)
_volumeFileNames.Add(name);
if (_wrappers.ContainsKey(name))
{
_wrappers[name].Seek(0, SeekOrigin.Begin, IntPtr.Zero);
inStream = _wrappers[name];
}
else
Expand Down

0 comments on commit 4e63b78

Please sign in to comment.