Skip to content

Commit

Permalink
Fix AltAdd/AltSubtract for files with no extension (see also 792a97f)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Nov 7, 2024
1 parent 8ae51ea commit b23725b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion far/src/panels/filelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3610,7 +3610,7 @@ long FileList::SelectFiles(int Mode,const wchar_t *Mask)
if (strRawMask.RPos(pos,L'.') && pos!=strRawMask.GetLength()-1)
strRawMask.Truncate(pos);

strRawMask += L".*\"";
strRawMask += L"*\"";
WrapBrackets=true;
Mode=(Mode==SELECT_ADDNAME) ? SELECT_ADD:SELECT_REMOVE;
}
Expand Down

0 comments on commit b23725b

Please sign in to comment.