Added fail-safe

This commit is contained in:
M66B 2020-11-13 18:11:11 +01:00
parent b1825316c3
commit 94ce9eabd4
1 changed files with 6 additions and 5 deletions

View File

@ -2246,6 +2246,7 @@ public class HtmlHelper {
if (dashed) {
LineSpan[] lines = ssb.getSpans(0, ssb.length(), LineSpan.class);
int last = -1;
if (lines != null)
for (LineSpan line : lines) {
int e = ssb.getSpanEnd(line);
if (e > last)