diff --git a/CPP/7zip/UI/Common/CompressCall.cpp b/CPP/7zip/UI/Common/CompressCall.cpp index 82910e61..e05b8ef1 100644 --- a/CPP/7zip/UI/Common/CompressCall.cpp +++ b/CPP/7zip/UI/Common/CompressCall.cpp @@ -221,7 +221,7 @@ HRESULT CompressFiles( params += kIncludeSwitch; RINOK(CreateMap(names, fileMapping, event, params)); - if (!arcType.IsEmpty()) + if (!arcType.IsEmpty() && arcType == L"7z") { int index; params += kArchiveTypeSwitch;