Prevent crash

pull/182/head
M66B 5 years ago
parent 627bf6b8c3
commit 474c8d503e

@ -516,7 +516,7 @@ public class FragmentCompose extends FragmentBase {
} }
if (broken) { if (broken) {
StyleSpan[] sspan = ssb.getSpans(start, start, StyleSpan.class); StyleSpan[] sspan = ssb.getSpans(start + 1, start + 1, StyleSpan.class);
for (StyleSpan span : sspan) { for (StyleSpan span : sspan) {
int s = ssb.getSpanStart(span); int s = ssb.getSpanStart(span);
int e = ssb.getSpanEnd(span); int e = ssb.getSpanEnd(span);

Loading…
Cancel
Save