mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 18:08:35 +02:00
SynEdit: workaround for issue #38766 / fpc generates bad code on aach64
git-svn-id: trunk@65024 -
This commit is contained in:
parent
f9511cf9c4
commit
a2f76da804
@ -1145,7 +1145,7 @@ end;
|
||||
procedure TSynEditCaret.DoLinesEdited(Sender: TSynEditStrings; aLinePos,
|
||||
aBytePos, aCount, aLineBrkCnt: Integer; aText: String);
|
||||
// Todo: refactor / this is a copy from selection
|
||||
function AdjustPoint(aPoint: Tpoint): TPoint; inline;
|
||||
function AdjustPoint(aPoint: Tpoint): TPoint; {$ifndef cpuaarch64}inline;{$endif} // workaround for issue https://bugs.freepascal.org/view.php?id=38766
|
||||
begin
|
||||
Result := aPoint;
|
||||
if aLineBrkCnt < 0 then begin
|
||||
|
Loading…
Reference in New Issue
Block a user