diff --git a/Source/GSSimpleLayoutManager.m b/Source/GSSimpleLayoutManager.m index aa66a0cb4..2dc852a63 100644 --- a/Source/GSSimpleLayoutManager.m +++ b/Source/GSSimpleLayoutManager.m @@ -743,7 +743,7 @@ forStartOfGlyphRange: (NSRange)glyphRange inTextContainer: (NSTextContainer *)aTextContainer { if ([_lineLayoutInformation count] - && NSMaxRange (redrawLineRange) < [_lineLayoutInformation count] + && NSMaxRange (redrawLineRange) <= [_lineLayoutInformation count] && redrawLineRange.length) { _GNULineLayoutInfo *firstInfo