mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 04:49:19 +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
|
begin
|
||||||
DestS:='';
|
DestS:='';
|
||||||
SetLength(DestS,Size+Location);
|
SetLength(DestS,Size+Location);
|
||||||
SetCodePage(DestS,DestCP,false);
|
|
||||||
Move(Pointer(S1)^,Pointer(DestS)^,Location);
|
Move(Pointer(S1)^,Pointer(DestS)^,Location);
|
||||||
Move(Pointer(S2)^,(Pointer(DestS)+Location)^,Size+1);
|
Move(Pointer(S2)^,(Pointer(DestS)+Location)^,Size+1);
|
||||||
end;
|
end;
|
||||||
|
SetCodePage(DestS,DestCP,false);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user