* reverse merge of 33057

git-svn-id: branches/fixes_3_0@33803 -
This commit is contained in:
marco 2016-05-25 20:38:55 +00:00
parent 9a23f1bdce
commit e8cc741cb3

View File

@ -586,7 +586,7 @@ begin
Pos:=0;
if Length(SubStr)>0 then
begin
MaxLen:=Length(source)-Length(SubStr)-(OffSet-1);
MaxLen:=Length(source)-Length(SubStr);
i:=0;
pc:=@source[1];
while (i<=MaxLen) do