FIX: Don't show size for link to directory under Unix

This commit is contained in:
Alexander Koblov 2017-11-06 09:01:28 +00:00
commit 2f7ac229e1

View file

@ -244,6 +244,7 @@ begin
if LinkProperty.IsValid then
begin
LinkProperty.IsLinkToDirectory := FPS_ISDIR(LinkStatInfo.st_mode);
if LinkProperty.IsLinkToDirectory then SizeProperty.Value := 0;
end;
end;
end;