From a87ef5f0fe53727e534e3bd332ceeea94c8aff32 Mon Sep 17 00:00:00 2001 From: Tino Reichardt Date: Wed, 27 May 2020 09:47:09 +0200 Subject: [PATCH] Fix #125 --- CPP/7zip/UI/Common/CompressCall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;