FIX: the issue in TFileView.calcFileHashKey() in flatview mode on macOS

(cherry picked from commit e21165673b)
This commit is contained in:
rich2014 2025-12-20 22:37:17 +08:00 committed by Alexander Koblov
commit aa260df7bf

View file

@ -1063,7 +1063,7 @@ end;
function TFileView.calcFileHashKey(const FileName, APath: String): String;
begin
if FFlatView then begin
Result := ExcludeTrailingPathDelimiter( APath + FileName );
Result := ExcludeTrailingPathDelimiter( IncludeTrailingPathDelimiter(APath) + FileName );
end else begin
Result := FileName;
end;