mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Lazarus 4.99 compatibility
This commit is contained in:
parent
039946e768
commit
fcf07a7ebb
1 changed files with 4 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ type
|
|||
implementation
|
||||
|
||||
uses
|
||||
CRC, Laz2_XMLRead;
|
||||
CRC, Laz2_XMLRead, LCLVersion;
|
||||
|
||||
//==== TSynUniSyn ============================================================
|
||||
constructor TSynUniSyn.Create(AOwner: TComponent);
|
||||
|
|
@ -703,6 +703,9 @@ begin
|
|||
ReadXMLFile(Xml, TargetStream, [xrfPreserveWhiteSpace]);
|
||||
try
|
||||
LoadFromXml(Xml);
|
||||
{$if lcl_fullversion >= 4990000}
|
||||
DefaultFilter:= GetDefaultFilter;
|
||||
{$endif}
|
||||
finally
|
||||
Xml.Free;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue