* use SystemFileName instead of the original FileName in DeleteFile()

git-svn-id: trunk@26365 -
This commit is contained in:
Jonas Maebe 2014-01-03 10:59:25 +00:00
parent d2a9308181
commit b106ded0e9

View File

@ -367,7 +367,7 @@ var
SystemFileName: RawByteString;
Begin
SystemFileName:=ToSingleByteFileSystemEncodedFileName(Filename);
Result:=(DosDelete(PChar (FileName))=0);
Result:=(DosDelete(PChar (SystemFileName))=0);
End;
function RenameFile (const OldName, NewName: RawByteString): boolean;