mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 18:29:09 +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;
|
Pos:=0;
|
||||||
if Length(SubStr)>0 then
|
if Length(SubStr)>0 then
|
||||||
begin
|
begin
|
||||||
MaxLen:=Length(source)-Length(SubStr)-(OffSet-1);
|
MaxLen:=Length(source)-Length(SubStr);
|
||||||
i:=0;
|
i:=0;
|
||||||
pc:=@source[1];
|
pc:=@source[1];
|
||||||
while (i<=MaxLen) do
|
while (i<=MaxLen) do
|
||||||
|
Loading…
Reference in New Issue
Block a user