Fix auto-split
This commit is contained in:
parent
1c7303a24b
commit
953cda5719
|
@ -3856,12 +3856,12 @@ public class Helper {
|
||||||
totalCurrent += (splitContent[i].length() + 1);
|
totalCurrent += (splitContent[i].length() + 1);
|
||||||
} else {
|
} else {
|
||||||
if (content.length() > totalCurrent && totalCurrent > 0) {
|
if (content.length() > totalCurrent && totalCurrent > 0) {
|
||||||
String tempContent = content.substring(0, (totalCurrent - 1));
|
String tempContent = content.substring(0, (totalCurrent));
|
||||||
content = content.substring(totalCurrent);
|
content = content.substring(totalCurrent);
|
||||||
|
|
||||||
reply.add(index, tempContent);
|
reply.add(index, tempContent);
|
||||||
index++;
|
index++;
|
||||||
totalCurrent = 0;
|
totalCurrent = splitContent[i].length() + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue