소스 검색

* Small fix by Alexey Torgashin. Fixes issue #40335

(cherry picked from commit 9cc08940dd4ec6f3c1b68638571c1075a220ed9d)
Michaël Van Canneyt 2 년 전
부모
커밋
50e4e53cf2
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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;