mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 13:59:28 +02:00
* Fix windows implementation of find. Fixes issue #40473
This commit is contained in:
parent
c120a13af8
commit
db1efd0264
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user