Fix SetFAttr function

git-svn-id: trunk@38764 -
This commit is contained in:
pierre 2018-04-13 22:18:21 +00:00
parent ab7fb33d67
commit b917533a9f

View File

@ -938,8 +938,8 @@ begin
r:=ToSingleByteFileSystemEncodedFileName(filerec(f).Name);
path:=pchar(r);
{$endif}
dosregs.dx:=Ofs(path);
dosregs.ds:=Seg(path);
dosregs.dx:=Ofs(path^);
dosregs.ds:=Seg(path^);
if LFNSupport then
begin
dosregs.ax:=$7143;