Преглед на файлове

* Fix windows implementation of find. Fixes issue #40473

Michaël Van Canneyt преди 1 година
родител
ревизия
db1efd0264
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/fcl-pdf/src/fpttf.pp

+ 1 - 1
packages/fcl-pdf/src/fpttf.pp

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