Fix index check

This commit is contained in:
Valter Costa
2023-04-18 17:44:23 +01:00
parent a9118774a8
commit cd5d11eeff

View File

@@ -334,7 +334,7 @@ public struct StringLineGroup : IEnumerable
goto Return;
MoveToNewLine:
if (SliceIndex < _lines.Count - 1)
if (SliceIndex < _lines.Lines.Length - 1)
{
SliceIndex++;
_offset = -1;