소스 검색

* make ansistring unique when changing the code page without conversion
(like on other platforms)

git-svn-id: trunk@22463 -

Jonas Maebe 13 년 전
부모
커밋
91d92c4732
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      rtl/java/jastrings.inc

+ 1 - 0
rtl/java/jastrings.inc

@@ -840,6 +840,7 @@ procedure SetCodePage(var s : RawByteString; CodePage : TSystemCodePage; Convert
       end
     else
       begin
+        UniqueString(s);
         AnsistringClass(S).fCodePage:=CodePage;
       end;
   end;