Browse Source

+ Fixed format statement for error when loading font

michael 22 years ago
parent
commit
1628e28cf0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/image/freetype.pp

+ 1 - 1
fcl/image/freetype.pp

@@ -191,7 +191,7 @@ begin
   if e <> 0 then
   if e <> 0 then
     begin
     begin
     Font := nil;
     Font := nil;
-    FTError (format (sErrLoadFont,[afilename,anindex]), e);
+    FTError (format (sErrLoadFont,[anindex,afilename]), e);
     end;
     end;
 end;
 end;