Fix so package compiles with latest FPC 2.5.1.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1431 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
7196a34234
commit
c0a0489235
@ -10888,7 +10888,11 @@ with LR do
|
||||
begin
|
||||
StartBI := StartB[I];
|
||||
EndBI := EndB[I];
|
||||
{$IFNDEF FPC}
|
||||
LineStart := StartCurs + Start-Buff; {offset from Section start to Line start}
|
||||
{$ELSE}
|
||||
LineStart := StartCurs + PtrUInt(Start)-PtrUInt(Buff); {offset from Section start to Line start}
|
||||
{$ENDIF}
|
||||
if (EndBI > LineStart) and (StartBI < LineStart +Ln) then
|
||||
begin {it's in this line}
|
||||
if not Assigned(BorderList) then
|
||||
|
Loading…
Reference in New Issue
Block a user