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