mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
- reverted optimisation from r24962, it's already performed in SetCodePage()
git-svn-id: branches/cpstrrtl@25132 -
This commit is contained in:
parent
155aafc255
commit
e132a77709
@ -2295,6 +2295,5 @@ End;
|
||||
Function ToSingleByteFileSystemEncodedFileName(const Str: RawByteString): RawByteString;
|
||||
Begin
|
||||
Result:=Str;
|
||||
if StringCodePage(Result)<>DefaultFileSystemCodePage then
|
||||
SetCodePage(Result,DefaultFileSystemCodePage,True);
|
||||
SetCodePage(Result,DefaultFileSystemCodePage,True);
|
||||
End;
|
||||
|
Loading…
Reference in New Issue
Block a user