Skip to content

Commit 2e78cbc

Browse files
committed
Enable Ppmd compression for zip archives
handles partially http://sevenzipsharp.codeplex.com/workitem/12746
1 parent 64486cc commit 2e78cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SevenZip/SevenZipCompressor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private bool MethodIsValid(CompressionMethod method)
222222
switch (_archiveFormat)
223223
{
224224
case OutArchiveFormat.Zip:
225-
return method != CompressionMethod.Ppmd;
225+
return method != CompressionMethod.Lzma2;
226226
case OutArchiveFormat.GZip:
227227
return method == CompressionMethod.Deflate;
228228
case OutArchiveFormat.BZip2:

0 commit comments

Comments
 (0)