Prevent crash

This commit is contained in:
M66B 2020-08-16 11:50:52 +02:00
parent a45b910020
commit 3bf613b534
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ public class HtmlHelper {
Float[] p = new Float[4];
String[] v = value.split(" ");
for (int i = 0; i < v.length; i++)
for (int i = 0; i < v.length && i < p.length; i++)
p[i] = getFontSize(v[i], 1.0f);
if (v.length == 1) {