* string -> shortstring

This commit is contained in:
Michael VAN CANNEYT 2023-01-06 11:14:27 +01:00 committed by Michaël Van Canneyt
parent bf1af7a962
commit 1e587e1150
2 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ End;
var var
execpathstr : shortstring; execpathstr : shortstring;
function paramstr(l: longint) : string; function paramstr(l: longint) : shortstring;
begin begin
{ stricly conforming POSIX applications } { stricly conforming POSIX applications }
{ have the executing filename as argv[0] } { have the executing filename as argv[0] }

View File

@ -44,9 +44,9 @@ type
end; end;
PFileIO = ^TFileIO; PFileIO = ^TFileIO;
TDoMkdir = procedure (const s: string); TDoMkdir = procedure (const s: shortstring);
TDoRmdir = procedure (const s: string); TDoRmdir = procedure (const s: shortstring);
TDoChdir = procedure (const s: string); TDoChdir = procedure (const s: shortstring);
TDoGetdir = procedure (DriveNr: byte; var Dir: ShortString); TDoGetdir = procedure (DriveNr: byte; var Dir: ShortString);
TDirIO = packed record TDirIO = packed record