mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
Prevent crash
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user