mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
a45b910020
commit
3bf613b534
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue