Răsfoiți Sursa

Merge branch 'main' into newicons

Martijn Laan 4 ani în urmă
părinte
comite
5b9f2e7659
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Projects/ScriptFunc_C.pas

+ 1 - 1
Projects/ScriptFunc_C.pas

@@ -34,7 +34,7 @@ procedure ScriptFuncLibraryRegister_C(ScriptCompiler: TPSPascalCompiler;
 
   procedure RegisterType(const Name, Value: tbtstring);
   begin
-    ScriptCompiler.AddTypes(Name, Value);
+    ScriptCompiler.AddTypeS(Name, Value);
   end;
 
   procedure RegisterFunctionTable(const FunctionTable: array of tbtstring);