1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-18 12:31:26 +02:00

Fix § at end of line

This commit is contained in:
snowleo
2013-04-06 18:37:13 +03:00
parent 3a989f5110
commit 4ca7d404f3

View File

@@ -54,15 +54,15 @@ public class BookPager
while (pointer < lineLength)
{
if (length >= max)
Character letter = pageLine.charAt(pointer);
if (length >= max || (letter == '\u00a7' && length - 1 >= max))
{
tempLine = pageLine.substring(start, pointer);
pageLines.add(tempLine);
start = pointer;
length = 0;
}
Character letter = pageLine.charAt(pointer);
}
if (letter == '\u00a7')
{