Pārlūkot izejas kodu

* Small fix by Alexey Torgashin. Fixes issue #40335

(cherry picked from commit 9cc08940dd4ec6f3c1b68638571c1075a220ed9d)
Michaël Van Canneyt 2 gadi atpakaļ
vecāks
revīzija
50e4e53cf2
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 1 3
      packages/fcl-image/src/freetype.pp

+ 1 - 3
packages/fcl-image/src/freetype.pp

@@ -400,9 +400,7 @@ begin
     if AValue[1] <> '.' then
       FExtention := '.' + AValue
     else
-      FExtention := AValue
-  else
-    AValue := '';
+      FExtention := AValue;
 end;
 
 function TFontManager.SearchFont (afilename:string; doraise : boolean = true) : string;