* Replaced TList assign by for loop

git-svn-id: trunk@4870 -
This commit is contained in:
marc 2003-11-30 22:21:59 +00:00
parent bbaf66e037
commit 7a940d1b58

View File

@ -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;