Browse Source

- removed the posidx, because it seems to be unused

git-svn-id: branches/unicodekvm@48565 -
nickysn 4 years ago
parent
commit
2b0cdc0c15
1 changed files with 0 additions and 21 deletions
  1. 0 21
      packages/fv/src/views.inc

+ 0 - 21
packages/fv/src/views.inc

@@ -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;