Still need that check

This commit is contained in:
snowleo 2013-04-06 18:40:42 +03:00
parent 4f033d8073
commit 8f41cc07e3

View File

@ -64,7 +64,7 @@ public class BookPager
length = 0; length = 0;
} }
if (letter == '\u00a7') if (letter == '\u00a7' && pointer + 1 < lineLength)
{ {
Character nextLetter = pageLine.charAt(pointer + 1); Character nextLetter = pageLine.charAt(pointer + 1);
if (nextLetter == 'l' || nextLetter == 'L') if (nextLetter == 'l' || nextLetter == 'L')