mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 13:29:14 +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;
|
Function ToSingleByteFileSystemEncodedFileName(const Str: RawByteString): RawByteString;
|
||||||
Begin
|
Begin
|
||||||
Result:=Str;
|
Result:=Str;
|
||||||
if StringCodePage(Result)<>DefaultFileSystemCodePage then
|
SetCodePage(Result,DefaultFileSystemCodePage,True);
|
||||||
SetCodePage(Result,DefaultFileSystemCodePage,True);
|
|
||||||
End;
|
End;
|
||||||
|
Loading…
Reference in New Issue
Block a user