From 3abbb89c2e073e7052bd8d06912069fcf2199e19 Mon Sep 17 00:00:00 2001 From: Nanook <188841+Nanook@users.noreply.github.com> Date: Fri, 1 Aug 2025 21:50:36 +0100 Subject: [PATCH] Comment typo edit. --- src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs b/src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs index 937c882b..70b61bae 100644 --- a/src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs +++ b/src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs @@ -22,7 +22,8 @@ internal class StreamingZipHeaderFactory : ZipHeaderFactory { if (stream is not SharpCompressStream) //ensure the stream is already a SharpCompressStream. So the buffer/size will already be set { - if (stream is SourceStream src) //the original code wrapped this with RewindableStream. Wrap with SharpCOmpressStream as we can get the boffer size + //the original code wrapped this with RewindableStream. Wrap with SharpCompressStream as we can get the buffer size + if (stream is SourceStream src) { stream = new SharpCompressStream( stream,