Explorar o código

Merge branch 'main' into newicons

Martijn Laan %!s(int64=4) %!d(string=hai) anos
pai
achega
5b9f2e7659
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);