mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 06:49:27 +02:00
* reverse merge of 33057
git-svn-id: branches/fixes_3_0@33803 -
This commit is contained in:
parent
9a23f1bdce
commit
e8cc741cb3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user