* Fix windows implementation of find. Fixes issue #40473

This commit is contained in:
Michaël Van Canneyt 2023-10-18 16:40:53 +02:00
parent c120a13af8
commit db1efd0264

View File

@ -1058,7 +1058,7 @@ begin
end;
if enum.matches.Count>0 then // there are matches
begin
fpath:=GetWinFontsDir;
fpath:=IncludeTrailingPathDelimiter(GetWinFontsDir);
for i:=enum.matches.Count-1 downto 0 do
begin
FI:=TFontItem(enum.matches[i]);