Merged revision(s) 51037 #cc42e8d513 from trunk:

ShellListView: allow for case-sensitive masks. Issue #0029255. Patch by ruewa, modified by me.
........

git-svn-id: branches/fixes_1_6@51077 -
This commit is contained in:
maxim 2015-12-28 22:19:16 +00:00
parent a343109826
commit beecbb57ad

View File

@ -656,10 +656,16 @@ begin
else MaskStr := AMask;
// The string list implements support for multiple masks separated
// by semi-comma ";"
// by semi-colon ";"
MaskStrings := TStringList.Create;
FileTree:=TAvgLvlTree.Create(@STVCompareFiles);
try
{$ifdef NotLiteralFilenames}
MaskStrings.CaseSensitive := False;
{$else}
MaskStrings.CaseSensitive := True;
{$endif}
MaskStrings.Delimiter := ';';
MaskStrings.DelimitedText := MaskStr;