Dialogs: fix compliation with fpc < 3.2.2 after commit #70688d5a (2nd try)

This commit is contained in:
Bart 2023-01-14 00:25:55 +01:00
parent 76c9b140ac
commit 3a944f112d

View File

@ -302,7 +302,7 @@ var
i: Integer;
begin
Result := nil;
Arr := Filter.Split('|',TstringSplitOptions.ExcludeLastEmpty);
Arr := Filter.Split('|'{$if fpc_fullversion >= 30202}, TStringSplitOptions.ExcludeLastEmpty{$endif});
SetLength(Result, Length(Arr) div 2);
for i := Low(Arr) to High(Arr) do
begin