mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 13:14:59 -06:00
fix: compile error, using another way to pass down SoleFolderIndex
This commit is contained in:
@@ -109,12 +109,14 @@ HRESULT CPanelCopyThread::ProcessVirt()
|
||||
options->folder, BoolToInt(true), extractCallback2);
|
||||
}
|
||||
else
|
||||
CMyComPtr<IFolderArchiveExtractCallback> extractCallback2;
|
||||
RINOK(ExtractCallback.QueryInterface(IID_IFolderArchiveExtractCallback, &extractCallback2))
|
||||
extractCallback2->SetSoleFolderIndex(options->soleFolderIndex);
|
||||
result2 = FolderOperations->CopyTo(
|
||||
BoolToInt(options->moveMode),
|
||||
&Indices.Front(), Indices.Size(),
|
||||
BoolToInt(options->includeAltStreams),
|
||||
BoolToInt(options->replaceAltStreamChars),
|
||||
options->soleFolderIndex,
|
||||
options->folder, ExtractCallback);
|
||||
|
||||
if (result2 == S_OK && !ExtractCallbackSpec->ThereAreMessageErrors)
|
||||
|
||||
Reference in New Issue
Block a user