소스 검색

* Fix windows implementation of find. Fixes issue #40473

(cherry picked from commit db1efd026472270cb1d6ca7101387d16a916eea4)
Michaël Van Canneyt 1 년 전
부모
커밋
a1fa607add
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-pdf/src/fpttf.pp

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

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