diff --git a/ui/text/text.cpp b/ui/text/text.cpp index 9d1f8a12..23959a67 100644 --- a/ui/text/text.cpp +++ b/ui/text/text.cpp @@ -3408,7 +3408,7 @@ bool IsNewline(QChar ch) { } bool IsSpace(QChar ch, bool rich) { - return ch.isSpace() + return ( ch.isSpace() && ch != QChar(160) ) || (ch < 32 && !(rich && ch == TextCommand)) || (ch == QChar::ParagraphSeparator) || (ch == QChar::LineSeparator)