mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 10:39:40 +01:00 
			
		
		
		
	* make ansistring unique when changing the code page without conversion
(like on other platforms) git-svn-id: trunk@22463 -
This commit is contained in:
		
							parent
							
								
									54c1e638ad
								
							
						
					
					
						commit
						91d92c4732
					
				@ -840,6 +840,7 @@ procedure SetCodePage(var s : RawByteString; CodePage : TSystemCodePage; Convert
 | 
			
		||||
      end
 | 
			
		||||
    else
 | 
			
		||||
      begin
 | 
			
		||||
        UniqueString(s);
 | 
			
		||||
        AnsistringClass(S).fCodePage:=CodePage;
 | 
			
		||||
      end;
 | 
			
		||||
  end;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user