mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 15:39:29 +02:00
rtl: set string codepage for all cases in fpc_AnsiStr_Concat
git-svn-id: trunk@19509 -
This commit is contained in:
parent
94e03df0e1
commit
212b14a46b
@ -258,10 +258,10 @@ begin
|
||||
begin
|
||||
DestS:='';
|
||||
SetLength(DestS,Size+Location);
|
||||
SetCodePage(DestS,DestCP,false);
|
||||
Move(Pointer(S1)^,Pointer(DestS)^,Location);
|
||||
Move(Pointer(S2)^,(Pointer(DestS)+Location)^,Size+1);
|
||||
end;
|
||||
SetCodePage(DestS,DestCP,false);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user