소스 검색

- reverted optimisation from r24962, it's already performed in SetCodePage()

git-svn-id: branches/cpstrrtl@25132 -
Jonas Maebe 12 년 전
부모
커밋
e132a77709
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      rtl/inc/ustrings.inc

+ 1 - 2
rtl/inc/ustrings.inc

@@ -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;