Explorar o código

* Clear search path (fix from Pascal Riekenberg, bug ID #36609)

git-svn-id: trunk@44004 -
michael %!s(int64=5) %!d(string=hai) anos
pai
achega
dad9126d45
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/fcl-report/test/tcreportgenerator.pas

+ 1 - 0
packages/fcl-report/test/tcreportgenerator.pas

@@ -94,6 +94,7 @@ begin
   if not ForceDirectories(FFilePath+'rendered') then
      Fail('Could not create directory for rendered JSON');
   gTTFontCache.Clear;
+  gTTFontCache.SearchPath.Clear;
   gTTFontCache.SearchPath.Add(FFilePath+'fonts/');
   gTTFontCache.SearchPath.Add(FFilePath+'../demos/fonts/');
 {$IFDEF UNIX}