rtl/amiga: fixed the FileInfoBlock copy to the Anchor chain which broke recently with the alignment fixes

This commit is contained in:
Karoly Balogh 2021-12-27 15:10:02 +01:00
parent 3608be8f13
commit 50572fda8c

View File

@ -338,7 +338,7 @@ begin
NChain^.an_Parent := Pointer(Anchor);
end;
// copy the fileinfoblock into the chain
Move(fib, NChain^.an_Info, SizeOf(TFileInfoBlock));
Move(fib^, NChain^.an_Info, SizeOf(TFileInfoBlock));
end;
until Res = 0; // useless... we jump out earlier
//