mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Don't hide folders with system attribute under Windows (fixes #1741)
(cherry picked from commit 06a5cc8fa2)
This commit is contained in:
parent
edf588ff5a
commit
dfb20dc45f
1 changed files with 3 additions and 2 deletions
|
|
@ -918,8 +918,9 @@ end;
|
|||
|
||||
function TNtfsFileAttributesProperty.IsSysFile: boolean;
|
||||
begin
|
||||
Result := ((FAttributes and FILE_ATTRIBUTE_SYSTEM) <> 0) or
|
||||
((FAttributes and FILE_ATTRIBUTE_HIDDEN) <> 0);
|
||||
Result := ((FAttributes and FILE_ATTRIBUTE_HIDDEN) <> 0) or
|
||||
(((FAttributes and FILE_ATTRIBUTE_SYSTEM) <> 0) and
|
||||
((FAttributes and FILE_ATTRIBUTE_DIRECTORY) = 0));
|
||||
end;
|
||||
|
||||
function TNtfsFileAttributesProperty.IsLink: Boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue