Skip to content

Commit ec284ae

Browse files
committed
Update mmpStackTrace.pas
1 parent 24f1fad commit ec284ae

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mmpStackTrace.pas

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,25 @@ implementation
3333

3434
function getExceptionStackInfoProc(P: PExceptionRecord): pointer;
3535
var
36-
vLines: TStringList;
37-
vText: String;
38-
vResult: PChar;
36+
vLines: TStringList;
37+
vText: string;
38+
vResult: PChar;
3939
vJcl_sil: TJclStackInfoList;
4040
begin
41-
vLines := TStringList.Create;
41+
vLines := TStringList.create;
4242
try
43-
vJcl_sil:=TJclStackInfoList.Create(True, 7, p.ExceptAddr, False, nil, nil);
43+
vJcl_sil:=TJclStackInfoList.Create(True, 7, p.ExceptAddr, FALSE, NIL, NIL);
4444
try
45-
vJcl_sil.addToStrings(vLines, true, true, true, true);
45+
vJcl_sil.addToStrings(vLines, TRUE, TRUE, TRUE, TRUE);
4646
finally
47-
FreeAndNil(vJcl_sil);
47+
freeAndNil(vJcl_sil);
4848
end;
4949
vText := vLines.Text;
5050
vResult := strAlloc(length(vText));
5151
strCopy(vResult, PChar(vText));
5252
result := vResult;
5353
finally
54-
vLines.Free;
54+
vLines.free;
5555
end;
5656
end;
5757

0 commit comments

Comments
 (0)