Changed calculation of variable lineIndex in NumberOfLinesToDisplayText() to make sure bad access errors don't occur in WidthOfString().