LazFileUtils: FileIsReadable on Windows should only return True if the file actually exists.

git-svn-id: trunk@49543 -
This commit is contained in:
bart 2015-07-14 10:25:53 +00:00
parent f53444d668
commit 8f7215b840

View File

@ -1045,7 +1045,7 @@ end;
function FileIsReadable(const AFilename: string): boolean;
begin
Result:=true;
Result:=FileExistsUTF8(AFilename);
end;
function FileIsWritable(const AFilename: string): boolean;