Browse Source

Merge branch 'main' into newicons

Martijn Laan 4 years ago
parent
commit
5b9f2e7659
1 changed files with 1 additions and 1 deletions
  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);
   procedure RegisterType(const Name, Value: tbtstring);
   begin
   begin
-    ScriptCompiler.AddTypes(Name, Value);
+    ScriptCompiler.AddTypeS(Name, Value);
   end;
   end;
 
 
   procedure RegisterFunctionTable(const FunctionTable: array of tbtstring);
   procedure RegisterFunctionTable(const FunctionTable: array of tbtstring);