mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Crash with Lazarus 4.99 (issue #2764)
This commit is contained in:
parent
76d4ba16ec
commit
dd391e22b7
1 changed files with 4 additions and 0 deletions
|
|
@ -447,6 +447,10 @@ end;
|
|||
procedure TSynUniSyn.SetRange(Value: Pointer);
|
||||
//: Set current range
|
||||
begin
|
||||
{$if lcl_fullversion >= 4990000}
|
||||
// Workaround, issue #2764
|
||||
if (Value = nil) then Exit;
|
||||
{$endif}
|
||||
fCurrentRule := TSynRange(Value);
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue