Kaynağa Gözat

* fixed strpcopy

peter 26 yıl önce
ebeveyn
işleme
badb6aa45a
1 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. 5 2
      rtl/objpas/syspch.inc

+ 5 - 2
rtl/objpas/syspch.inc

@@ -59,7 +59,7 @@ end ;
 
 function StrPCopy(Dest: PChar; Source: string): PChar;
 begin
-result := StrMove(Dest, PChar(Source), length(Source));
+result := StrMove(Dest, PChar(Source), length(Source)+1);
 end ;
 
 {  StrPLCopy copies MaxLen or less characters from the pascal string
@@ -104,7 +104,10 @@ end ;
 
 {
   $Log$
-  Revision 1.4  1999-02-25 07:39:57  michael
+  Revision 1.4.2.1  1999-07-09 10:05:05  peter
+    * fixed strpcopy
+
+  Revision 1.4  1999/02/25 07:39:57  michael
   * Joined strings and sysutils
 
   Revision 1.3  1999/02/10 22:15:11  michael