diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/RtlUtils.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/RtlUtils.java index 329e11b73..5da51208e 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/RtlUtils.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/RtlUtils.java @@ -528,7 +528,8 @@ public class RtlUtils { do { - if (line.length() + phrase.length() + word.length() < line_max_size) { + if ((line.length() + phrase.length() + word.length() < line_max_size) || + (phrase.length() == 0 && word.length() > line_max_size)) { if (isSpaceSign(c)) { word.append(c); addCharToWord = true;