- removed the posidx, because it seems to be unused

git-svn-id: branches/unicodekvm@48565 -
This commit is contained in:
nickysn 2021-02-09 20:54:26 +00:00
parent 763124567d
commit 2b0cdc0c15

View File

@ -872,27 +872,6 @@ var
{ PRIVATE INTERNAL ROUTINES }
{***************************************************************************}
function posidx(const substr,s : string;idx:sw_integer):sw_integer;
var
i,j : sw_integer;
e : boolean;
begin
i:=idx;
j:=0;
e:=(length(SubStr)>0);
while e and (i<=Length(s)-Length(SubStr)) do
begin
if (SubStr[1]=s[i]) and (Substr=Copy(s,i,Length(SubStr))) then
begin
j:=i;
e:=false;
end;
inc(i);
end;
PosIdx:=j;
end;
{$ifdef UNIX}
const
MouseUsesVideoBuf = true;