Explorar el Código

* string -> shortstring

Michael VAN CANNEYT hace 2 años
padre
commit
b5a49d4b71
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;