mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 17:39:28 +01:00
Dialogs: fix compliation with fpc < 3.2.2 after commit #70688d5a (2nd try)
This commit is contained in:
parent
76c9b140ac
commit
3a944f112d
@ -302,7 +302,7 @@ var
|
|||||||
i: Integer;
|
i: Integer;
|
||||||
begin
|
begin
|
||||||
Result := nil;
|
Result := nil;
|
||||||
Arr := Filter.Split('|',TstringSplitOptions.ExcludeLastEmpty);
|
Arr := Filter.Split('|'{$if fpc_fullversion >= 30202}, TStringSplitOptions.ExcludeLastEmpty{$endif});
|
||||||
SetLength(Result, Length(Arr) div 2);
|
SetLength(Result, Length(Arr) div 2);
|
||||||
for i := Low(Arr) to High(Arr) do
|
for i := Low(Arr) to High(Arr) do
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user