mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 16:49:20 +02:00
Fix SetFAttr function
git-svn-id: trunk@38764 -
This commit is contained in:
parent
ab7fb33d67
commit
b917533a9f
@ -938,8 +938,8 @@ begin
|
|||||||
r:=ToSingleByteFileSystemEncodedFileName(filerec(f).Name);
|
r:=ToSingleByteFileSystemEncodedFileName(filerec(f).Name);
|
||||||
path:=pchar(r);
|
path:=pchar(r);
|
||||||
{$endif}
|
{$endif}
|
||||||
dosregs.dx:=Ofs(path);
|
dosregs.dx:=Ofs(path^);
|
||||||
dosregs.ds:=Seg(path);
|
dosregs.ds:=Seg(path^);
|
||||||
if LFNSupport then
|
if LFNSupport then
|
||||||
begin
|
begin
|
||||||
dosregs.ax:=$7143;
|
dosregs.ax:=$7143;
|
||||||
|
Loading…
Reference in New Issue
Block a user