* Fix windows implementation of find. Fixes issue #40473

(cherry picked from commit db1efd0264)
This commit is contained in:
Michaël Van Canneyt 2023-10-18 16:40:53 +02:00 committed by marcoonthegit
parent 59b8fe405e
commit a1fa607add

View File

@ -1070,7 +1070,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]);