mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-05 23:32:29 +02:00
Without a copy in most cases
This commit is contained in:
parent
bdef7af09e
commit
f60bed0823
@ -368,8 +368,9 @@ begin
|
||||
hs:=Args[doarg].VVariant^;
|
||||
Index:=Length(hs);
|
||||
If (Prec<>-1) and (Index>Prec) then
|
||||
Index:=Prec;
|
||||
ToAdd:=Copy(hs,1,Index);
|
||||
ToAdd:=Copy(hs,1,Prec)
|
||||
else
|
||||
ToAdd:=hs;
|
||||
end;
|
||||
'P' : Begin
|
||||
CheckArg(vtpointer,true);
|
||||
|
Loading…
Reference in New Issue
Block a user