Explorar el Código

+ Fixed format statement for error when loading font

michael hace 22 años
padre
commit
1628e28cf0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      fcl/image/freetype.pp

+ 1 - 1
fcl/image/freetype.pp

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