mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 11:50:28 +02:00
* Fix range check error
This commit is contained in:
parent
30c06d66c3
commit
5aeaf398cd
@ -645,6 +645,8 @@ implementation
|
||||
|
||||
begin
|
||||
delete:=false;
|
||||
if (system.length(buf)=0) then
|
||||
exit;
|
||||
{ indexword in 1.0.x and 1.9.4 is broken }
|
||||
i:=indexword(buf[0],length,s);
|
||||
if i<>-1 then
|
||||
|
Loading…
Reference in New Issue
Block a user