mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 01:09:35 +02:00
* Replaced TList assign by for loop
git-svn-id: trunk@4870 -
This commit is contained in:
parent
bbaf66e037
commit
7a940d1b58
@ -2515,7 +2515,8 @@ begin
|
||||
i:=Cnt-1;
|
||||
while (i>=0) and (NewList[i]=FFiles[i]) do dec(i);
|
||||
if i<0 then exit;
|
||||
FFiles.Assign(NewList);
|
||||
FFiles.Clear;
|
||||
for i:= 0 to Cnt-1 do FFiles.Add(NewList[i]);
|
||||
Modified:=true;
|
||||
finally
|
||||
NewList.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user