* fixed copying of remaining elements

git-svn-id: trunk@7699 -
This commit is contained in:
florian 2007-06-17 09:47:05 +00:00
parent 3eaceafad3
commit ea97b8b137

View File

@ -299,6 +299,9 @@ begin
copiedsize:=fpc_Copy_internal(Src+Offset,Dest+Offset,Info); copiedsize:=fpc_Copy_internal(Src+Offset,Dest+Offset,Info);
expectedoffset:=Offset+copiedsize; expectedoffset:=Offset+copiedsize;
end; end;
{ elements remaining? }
if result>expectedoffset then
move((Src+expectedoffset)^,(Dest+expectedoffset)^,Result-expectedoffset);
end; end;
tkDynArray: tkDynArray:
begin begin