Browse Source

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

Karoly Balogh 3 năm trước cách đây
mục cha
commit
50572fda8c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
   //