debugger: disassembler, fix display of top line

git-svn-id: trunk@28235 -
This commit is contained in:
martin 2010-11-14 23:51:59 +00:00
parent c2f5f8d325
commit ddc9a46f1b

View File

@ -569,7 +569,7 @@ begin
end
else
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) )
)
then begin