Source commit: e0931dd3af34e1d7b9c09acae786810afd2b113a
@@ -552,7 +552,7 @@ begin
end;
{DisplayName:}
- if (Flags and dsDisplayName <> 0) then
+ if (Flags and dsDisplayName) <> 0 then
begin
{Fetch drives displayname:}
SimpleName := GetSimpleName(Drive);