浏览代码

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

Karoly Balogh 3 年之前
父节点
当前提交
50572fda8c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
   //