* Fix range check error

This commit is contained in:
Michaël Van Canneyt 2025-03-18 16:05:52 +01:00
parent 30c06d66c3
commit 5aeaf398cd

View File

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