Browse Source

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

Karoly Balogh 3 years ago
parent
commit
50572fda8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/amiga/m68k/legacydos.inc

+ 1 - 1
rtl/amiga/m68k/legacydos.inc

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