diff --git a/src/ce_common.pas b/src/ce_common.pas index 9f5742ca..0bd0e4c6 100644 --- a/src/ce_common.pas +++ b/src/ce_common.pas @@ -1046,7 +1046,7 @@ begin exit; if str[1] = ';' then result := true; - if (length(str) > ) and (str[1..2] = '//') then + if (length(str) > 1) and (str[1..2] = '//') then result := true; end;