Fix auto-split

This commit is contained in:
tom79 2019-10-13 17:01:46 +02:00
parent 1c7303a24b
commit 953cda5719
1 changed files with 2 additions and 2 deletions

View File

@ -3856,12 +3856,12 @@ public class Helper {
totalCurrent += (splitContent[i].length() + 1);
} else {
if (content.length() > totalCurrent && totalCurrent > 0) {
String tempContent = content.substring(0, (totalCurrent - 1));
String tempContent = content.substring(0, (totalCurrent));
content = content.substring(totalCurrent);
reply.add(index, tempContent);
index++;
totalCurrent = 0;
totalCurrent = splitContent[i].length() + 1;
}
}
}