mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-17 21:06:48 +01:00
fix long word bug in Rtl support
This commit is contained in:
parent
3e6ddcc714
commit
b3e8e92441
@ -529,7 +529,7 @@ public class RtlUtils {
|
|||||||
|
|
||||||
do {
|
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)) {
|
(line.length() == 0 && word.length() > line_max_size)) {
|
||||||
if (isSpaceSign(c)) {
|
if (isSpaceSign(c)) {
|
||||||
word.append(c);
|
word.append(c);
|
||||||
addCharToWord = true;
|
addCharToWord = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user