mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Regression in 0.8.x
This commit is contained in:
parent
8638030164
commit
e2d64cbcd3
1 changed files with 3 additions and 5 deletions
|
|
@ -642,15 +642,13 @@ begin
|
|||
begin
|
||||
if (Pos('.', Result) > 0) then
|
||||
begin
|
||||
sFileExt := ExtractFileExt(Result);
|
||||
sFilterNameNoExt := ExtractOnlyFileName(Result);
|
||||
if not (qsmBeginning in aFilterOptions.Match) then
|
||||
if not (qsmBeginning in aFilterOptions.Match) then
|
||||
sFilterNameNoExt := '*' + sFilterNameNoExt;
|
||||
if not (qsmEnding in aFilterOptions.Match) then
|
||||
sFilterNameNoExt := sFilterNameNoExt + '*';
|
||||
sFileExt := ExtractFileExt(Result);
|
||||
if sFileExt = EmptyStr then
|
||||
sFileExt := Result + '*';
|
||||
Result := sFilterNameNoExt + sFileExt;
|
||||
Result := sFilterNameNoExt + sFileExt + '*';
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue