mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 15:39:32 +02:00
LazFileUtils: fix stupid mistake in DbgSFileAttr() function.
git-svn-id: trunk@48165 -
This commit is contained in:
parent
34fa9b2929
commit
750c0cd318
@ -382,13 +382,13 @@ begin
|
|||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
Result := '[-------]';
|
Result := '[-------]';
|
||||||
if (faDirectory and Attr) = 0 then Result[2] := 'D';
|
if (faDirectory and Attr) > 0 then Result[2] := 'D';
|
||||||
if (faArchive and Attr) = 0 then Result[3] := 'A';
|
if (faArchive and Attr) > 0 then Result[3] := 'A';
|
||||||
if (faSysFile and Attr) = 0 then Result[4] := 'S';
|
if (faSysFile and Attr) > 0 then Result[4] := 'S';
|
||||||
if (faReadOnly and Attr) = 0 then Result[5] := 'R';
|
if (faReadOnly and Attr) > 0 then Result[5] := 'R';
|
||||||
if (faHidden and Attr) = 0 then Result[6] := 'H';
|
if (faHidden and Attr) > 0 then Result[6] := 'H';
|
||||||
if (faVolumeId and Attr) = 0 then Result[7] := 'V';
|
if (faVolumeId and Attr) > 0 then Result[7] := 'V';
|
||||||
if (faSymLink and Attr) = 0 then Result[8] := 'L';
|
if (faSymLink and Attr) > 0 then Result[8] := 'L';
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user