mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
ADD: Support multiple extensions in MultiArc
This commit is contained in:
parent
5b251772b7
commit
52c35fcbe7
1 changed files with 2 additions and 2 deletions
|
|
@ -161,7 +161,7 @@ begin
|
|||
begin
|
||||
aMultiArcItem:= gMultiArcList.Items[I];
|
||||
|
||||
if SameText(anArchiveType, aMultiArcItem.FExtension) and (aMultiArcItem.FEnabled) then
|
||||
if MatchesMaskList(anArchiveType, aMultiArcItem.FExtension, ',') and (aMultiArcItem.FEnabled) then
|
||||
begin
|
||||
Result := TMultiArchiveFileSource.Create(anArchiveFileSource,
|
||||
anArchiveFileName,
|
||||
|
|
@ -189,7 +189,7 @@ begin
|
|||
for I := 0 to gMultiArcList.Count - 1 do
|
||||
begin
|
||||
aMultiArcItem:= gMultiArcList.Items[I];
|
||||
if SameText(anArchiveType, aMultiArcItem.FExtension) and (aMultiArcItem.FEnabled) then
|
||||
if MatchesMaskList(anArchiveType, aMultiArcItem.FExtension, ',') and (aMultiArcItem.FEnabled) then
|
||||
Exit(True);
|
||||
end;
|
||||
Result := False;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue