Quellcode durchsuchen

* Small optimisation in strnew from Luiz Americo (bug ID 26365)

git-svn-id: trunk@28005 -
michael vor 11 Jahren
Ursprung
Commit
a0f4ff655e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      rtl/objpas/sysutils/syspch.inc

+ 1 - 1
rtl/objpas/sysutils/syspch.inc

@@ -61,7 +61,7 @@ begin
   len:=strlen(p)+1;
   Result:=StrAlloc(Len);
   if Result<>nil then
-   strmove(Result,p,len);
+   move(p^,Result^,len);
 end;