mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 22:47:59 +02:00
* correct aDelta size
This commit is contained in:
parent
beca14334c
commit
2cec31d86f
@ -1967,7 +1967,7 @@ begin
|
||||
SetLength(result, SizeUint(Pointer(Se) - Pointer(Ss)) div sizeof(Char));
|
||||
Rp := PChar(Pointer(Result));
|
||||
repeat
|
||||
aDelta:=(Pointer(Sp) - Pointer(Ss))*SizeOf(Char);
|
||||
aDelta:=(Pointer(Sp) - Pointer(Ss));
|
||||
Move(Ss^, Rp^, aDelta);
|
||||
Inc(Pointer(Rp), aDelta);
|
||||
repeat
|
||||
|
Loading…
Reference in New Issue
Block a user