mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 01:27:59 +02:00
* Minor optimization from mantis 14974
git-svn-id: trunk@14016 -
This commit is contained in:
parent
91a756e51a
commit
030379bc57
@ -160,7 +160,7 @@ implementation
|
||||
len:=strlen(p)+1;
|
||||
getmem(strnew,len);
|
||||
if strnew<>nil then
|
||||
strmove(strnew,p,len);
|
||||
move(p^,strnew^,len);
|
||||
end;
|
||||
|
||||
procedure strdispose(p : pchar);
|
||||
|
Loading…
Reference in New Issue
Block a user