Browse Source

* string -> shortstring

Michael VAN CANNEYT 2 năm trước cách đây
mục cha
commit
b5a49d4b71
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rtl/inc/strings.pp

+ 1 - 1
rtl/inc/strings.pp

@@ -23,7 +23,7 @@ interface
     function strlen(p:PAnsiChar):sizeint;external name 'FPC_PCHAR_LENGTH';
 
     { Converts a Pascal string to a null-terminated string }
-    function strpcopy(d : PAnsiChar;const s : string) : PAnsiChar;
+    function strpcopy(d : PAnsiChar;const s : shortstring) : PAnsiChar;
 
     { Copies source to dest, returns a pointer to dest }
     function strcopy(dest,source : PAnsiChar) : PAnsiChar; overload;