mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 05:39:17 +02:00
debugger: disassembler, fix display of top line
git-svn-id: trunk@28235 -
This commit is contained in:
parent
c2f5f8d325
commit
ddc9a46f1b
@ -569,7 +569,7 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
if (Line = 0) // but it's not LineIsSrc
|
if (Line = 0) // but it's not LineIsSrc
|
||||||
and ( ( (Itm^.SrcFileName <> '') and (Itm^.SrcStatementIndex <> Itm^.SrcStatementCount) )
|
and ( ( (Itm^.SrcFileName <> '') and (Itm^.SrcStatementIndex <> Itm^.SrcStatementCount-1) )
|
||||||
or ( (Itm^.SrcFileName = '') and (Itm^.FuncName <> '') and (NextItm <> nil) and (Itm^.Offset < NextItm^.Offset) )
|
or ( (Itm^.SrcFileName = '') and (Itm^.FuncName <> '') and (NextItm <> nil) and (Itm^.Offset < NextItm^.Offset) )
|
||||||
)
|
)
|
||||||
then begin
|
then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user