* string -> shortstring

This commit is contained in:
Michaël Van Canneyt 2023-07-13 14:50:35 +02:00 committed by Michael Van Canneyt
parent 28b8d069ba
commit a3300b5ef5

View File

@ -71,12 +71,12 @@ begin
GetLibAdress := Pointer((Base -(Offset * SizeOf(Pointer)))^);
end;
procedure Debug(s: string);
procedure Debug(s: shortstring);
type
TkPrintf = function(Msg: PAnsiChar): Integer; cdecl;
var
kPrintf: TkPrintf;
d: string;
d: shortstring;
i: Integer;
begin
if Assigned(AOS_ExecBase) then
@ -93,7 +93,7 @@ begin
end;
end;
procedure Debugln(s: string);
procedure Debugln(s: shortstring);
begin
Debug(s + #10);
end;