mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-05 17:05:19 -05:00
Linux fix.
This commit is contained in:
parent
90e1e538a6
commit
72c304e277
@ -1750,14 +1750,12 @@ procedure TForm1.FormCreate(Sender: TObject);
|
||||
ms := TMemoryStream.Create;
|
||||
|
||||
try
|
||||
|
||||
with TPSThread(t).PSScript do
|
||||
begin
|
||||
a.OnCompile := OnCompile;
|
||||
a.OnCompImport := OnCompImport;
|
||||
a.OnExecImport := OnExecImport;
|
||||
end;
|
||||
|
||||
a.GetValueDefs(b);
|
||||
|
||||
SetLength(CoreBuffer, 1);
|
||||
|
@ -175,7 +175,7 @@ procedure TPSScriptExtension.GetCodeProps;
|
||||
Result := Result + 'property ' + ci.OrgName + s;
|
||||
if (ci.Decl.Result <> nil) then
|
||||
Result := Result + ': '+ TypeToString(ci.Decl.Result);
|
||||
if (Cardinal(ci) = Def) then
|
||||
if (PtrUInt(ci) = Def) then
|
||||
Result := Result + '; default';
|
||||
Result := Result + '; ';
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user